about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorCorey Farwell <coreyf@rwell.org>2017-02-15 23:48:13 -0500
committerGitHub <noreply@github.com>2017-02-15 23:48:13 -0500
commit3f95303db6237b24dd4be097f5436fb14eb8ae6e (patch)
treedd42de441ddcdda0110f67ff906beff6de08929d /src/rustllvm/RustWrapper.cpp
parentef45eca8a5208d99560f56159adbe349246d7a3c (diff)
parent044ed10fee3351da2315d5d8e26949929ad918ce (diff)
downloadrust-3f95303db6237b24dd4be097f5436fb14eb8ae6e.tar.gz
rust-3f95303db6237b24dd4be097f5436fb14eb8ae6e.zip
Rollup merge of #39793 - RalfJung:cell, r=alexcrichton
Allow more Cell methods for non-Copy types

Clearly, `get_mut` is safe for any `T`. The other two only provide unsafe pointers anyway.

The only remaining inherent method with `Copy` bound is `get`, which sounds about right to me.

I found the order if `impl` blocks in the file a little weird (first inherent impl, then some trait impls, then another inherent impl), but didn't change it to keep the diff small.

Contributes to #39264
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions