reference: note the existence of UnsafeCell

This commit is contained in:
Daniel Micay 2014-10-28 18:31:09 -04:00
parent 98bbccf2c7
commit 321de979d8

View 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