Skip to content

Commit 65cf10d

Browse files
committed
word things more like we usually do
1 parent dd5045e commit 65cf10d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/primitive_docs.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -900,8 +900,8 @@ mod prim_usize { }
900900
/// For those familiar with pointers, a reference is just a pointer that is assumed to be
901901
/// aligned, not null, and pointing to memory containing a valid value of `T` - for example,
902902
/// `&bool` can only point to an allocation containing the integer values `1` (`true`) or `0`
903-
/// (`false`), but the behavior of creating a `&bool` that points to an allocation containing
904-
/// the value `3` is undefined.
903+
/// (`false`), but creating a `&bool` that points to an allocation containing
904+
/// the value `3` causes undefined behaviour.
905905
/// In fact, `Option<&T>` has the same memory representation as a
906906
/// nullable but aligned pointer, and can be passed across FFI boundaries as such.
907907
///

0 commit comments

Comments
 (0)