about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2014-12-21 00:04:22 -0800
committerAlex Crichton <alex@alexcrichton.com>2014-12-21 09:27:36 -0800
commitb187ae55aa0b950eac17342a2ceddbc8408c5583 (patch)
treefed7cda87041e485779a35550eeacc88a5f38860 /src/rustllvm/RustWrapper.cpp
parentf6a7388210e40741e9e5d50ef376ceba3cb34e61 (diff)
parente473e700ccb94177cdc8e799b9f08bceb1c75601 (diff)
downloadrust-b187ae55aa0b950eac17342a2ceddbc8408c5583.tar.gz
rust-b187ae55aa0b950eac17342a2ceddbc8408c5583.zip
rollup merge of #20066: aturon/stab-2-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.)

r? @alexcrichton
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions