]> git.lizzy.rs Git - rust.git/commitdiff
Add the 'T' present in the rust book
authorAidan Hobson Sayers <aidanhs@cantab.net>
Mon, 29 Feb 2016 02:50:18 +0000 (02:50 +0000)
committerAidan Hobson Sayers <aidanhs@cantab.net>
Mon, 29 Feb 2016 02:50:18 +0000 (02:50 +0000)
src/doc/reference.md

index 913cfcff104af0f87439962c0d5220ccaffe9449..c2d1fedf6d243a2a77b00a1eca8723d82c4966fd 100644 (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 LLVM’s scoped [noalias] model, except if the `&T`
+* `&mut T` and `&T` follow LLVM’s 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