Skip to content

Commit

Permalink
word things more like we usually do
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Jul 23, 2019
1 parent dd5045e commit 65cf10d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/primitive_docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -900,8 +900,8 @@ mod prim_usize { }
/// For those familiar with pointers, a reference is just a pointer that is assumed to be
/// aligned, not null, and pointing to memory containing a valid value of `T` - for example,
/// `&bool` can only point to an allocation containing the integer values `1` (`true`) or `0`
/// (`false`), but the behavior of creating a `&bool` that points to an allocation containing
/// the value `3` is undefined.
/// (`false`), but creating a `&bool` that points to an allocation containing
/// the value `3` causes undefined behaviour.
/// In fact, `Option<&T>` has the same memory representation as a
/// nullable but aligned pointer, and can be passed across FFI boundaries as such.
///
Expand Down

0 comments on commit 65cf10d

Please sign in to comment.