diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2014-12-21 00:04:22 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2014-12-21 09:27:36 -0800 |
| commit | b187ae55aa0b950eac17342a2ceddbc8408c5583 (patch) | |
| tree | fed7cda87041e485779a35550eeacc88a5f38860 /src/rustllvm/RustWrapper.cpp | |
| parent | f6a7388210e40741e9e5d50ef376ceba3cb34e61 (diff) | |
| parent | e473e700ccb94177cdc8e799b9f08bceb1c75601 (diff) | |
| download | rust-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
