guide-unsafe.md: fix noun

This commit is contained in:
Philipp Gesang
2014-08-06 21:21:12 +02:00
parent c2bf0ed4dd
commit 2c7ef330fc
+1 -1
View File
@@ -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