Add the 'T' present in the rust book

This commit is contained in:
Aidan Hobson Sayers 2016-02-29 02:50:18 +00:00
parent d5558825b4
commit 246401367d

View file

@ -4065,7 +4065,7 @@ the guarantee that these issues are never caused by safe code.
* Breaking the [pointer aliasing
rules](http://llvm.org/docs/LangRef.html#pointer-aliasing-rules)
with raw pointers (a subset of the rules used by C)
* `&mut` and `&` follow LLVMs scoped [noalias] model, except if the `&T`
* `&mut T` and `&T` follow LLVMs scoped [noalias] model, except if the `&T`
contains an `UnsafeCell<U>`. Unsafe code must not violate these aliasing
guarantees.
* Mutating non-mutable data (that is, data reached through a shared reference or