about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAaron Turon <aturon@mozilla.com>2014-12-19 23:47:46 -0800
committerAaron Turon <aturon@mozilla.com>2014-12-19 23:47:46 -0800
commite473e700ccb94177cdc8e799b9f08bceb1c75601 (patch)
tree5df18e755b692f474033d7cdc858af2a1e2de85c /src/rustllvm/RustWrapper.cpp
parent1c2df5cc3cfc0c9e80adf9fa6504d55056741c5a (diff)
downloadrust-e473e700ccb94177cdc8e799b9f08bceb1c75601.tar.gz
rust-e473e700ccb94177cdc8e799b9f08bceb1c75601.zip
Stabilize cell
This patch finalizes stabilization for the `cell` module, settling on
the current names `Cell`, `RefCell`, `UnsafeCell`, `Ref` and `RefMut`.

While we had considered improving these names, no one was able to
produce a truly compelling alternative.

There is one substantive change here: the `get` method of `UnsafeSell`
is now marked `unsafe`. Merely getting a raw pointer to the contents is
not, by itself, an unsafe operation. (Consider that you can always
safely turn a reference into a raw pointer, and that raw pointer may
then be aliased by subsequent references.)
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions