diff options
| author | Corey Farwell <coreyf@rwell.org> | 2017-02-15 23:48:13 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-02-15 23:48:13 -0500 |
| commit | 3f95303db6237b24dd4be097f5436fb14eb8ae6e (patch) | |
| tree | dd42de441ddcdda0110f67ff906beff6de08929d /src/test/run-pass/thinlto | |
| parent | ef45eca8a5208d99560f56159adbe349246d7a3c (diff) | |
| parent | 044ed10fee3351da2315d5d8e26949929ad918ce (diff) | |
| download | rust-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/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
