Skip to content

Commit 2464013

Browse files
committed
Add the 'T' present in the rust book
1 parent d555882 commit 2464013

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/doc/reference.md

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

0 commit comments

Comments
 (0)