From 246401367d373408922a6609b46cc56c60e0a795 Mon Sep 17 00:00:00 2001 From: Aidan Hobson Sayers Date: Mon, 29 Feb 2016 02:50:18 +0000 Subject: [PATCH] Add the 'T' present in the rust book --- src/doc/reference.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/doc/reference.md b/src/doc/reference.md index 913cfcff104..c2d1fedf6d2 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -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`. Unsafe code must not violate these aliasing guarantees. * Mutating non-mutable data (that is, data reached through a shared reference or -- 2.44.0