]> git.lizzy.rs Git - rust.git/commitdiff
reference: note the existence of UnsafeCell
authorDaniel Micay <danielmicay@gmail.com>
Tue, 28 Oct 2014 22:31:09 +0000 (18:31 -0400)
committerDaniel Micay <danielmicay@gmail.com>
Tue, 28 Oct 2014 22:31:09 +0000 (18:31 -0400)
src/doc/reference.md

index 11bf895341b90619a4c36308b224e55ecbbf1cf3..1a3365a86b79757a313cdb0a967146800d63fbb6 100644 (file)
@@ -1152,7 +1152,7 @@ exposing an API making it possible for it to occur in safe code.
 
 * Data races
 * Dereferencing a null/dangling raw pointer
-* Mutating an immutable value/reference
+* Mutating an immutable value/reference without `UnsafeCell`
 * Reads of [undef](http://llvm.org/docs/LangRef.html#undefined-values)
   (uninitialized) memory
 * Breaking the [pointer aliasing