]> git.lizzy.rs Git - rust.git/commit
Remove `unsafe` qualifier from `RefCell::as_unsafe_cell`
authorTobias Bucher <tobiasbucher5991@gmail.com>
Mon, 28 Mar 2016 13:29:15 +0000 (15:29 +0200)
committerTobias Bucher <tobiasbucher5991@gmail.com>
Mon, 28 Mar 2016 13:29:15 +0000 (15:29 +0200)
commit4ddbd6b5b0f356eae0ec4ba5fcea277885da7528
tree7085c3e29b638f719d213b4fe824ca33f2605197
parentf738dc1fe4e0f70769b3265fb9f985340659ac34
Remove `unsafe` qualifier from `RefCell::as_unsafe_cell`

This method is no longer unsafe because the field of `UnsafeCell` is no
longer public.
src/libcore/cell.rs