Skip to content

Commit

Permalink
guide-unsafe.md: fix noun
Browse files Browse the repository at this point in the history
  • Loading branch information
Philipp Gesang committed Aug 12, 2014
1 parent c2bf0ed commit 2c7ef33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/doc/guide-unsafe.md
Expand Up @@ -137,7 +137,7 @@ explicitly with, respectively, `value as *const T` and `value as *mut T`).

Going the opposite direction, from `*const` to a reference `&`, is not
safe. A `&T` is always valid, and so, at a minimum, the raw pointer
`*const T` has to be a valid to a valid instance of type `T`. Furthermore,
`*const T` has to be a pointer to a valid instance of type `T`. Furthermore,
the resulting pointer must satisfy the aliasing and mutability laws of
references. The compiler assumes these properties are true for any
references, no matter how they are created, and so any conversion from
Expand Down

0 comments on commit 2c7ef33

Please sign in to comment.