guide-unsafe.md: fix wording

Following a suggestion by Huon Wilson.
This commit is contained in:
Philipp Gesang 2014-08-12 21:30:02 +02:00
parent 2c7ef330fc
commit 061cdec5df
No known key found for this signature in database
GPG Key ID: 5A7AECC5222FF504

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 pointer to a valid instance of type `T`. Furthermore,
`*const T` has to point 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