diff options
| author | Erick Tryzelaar <erick.tryzelaar@gmail.com> | 2014-03-28 10:29:55 -0700 |
|---|---|---|
| committer | Erick Tryzelaar <erick.tryzelaar@gmail.com> | 2014-04-03 20:28:55 -0700 |
| commit | 7bcfe2ee1067d1304c9a2813c111f10a89984e45 (patch) | |
| tree | a42fc0ceadbf33bdfc722236697b65b9688b817e /src/test/codegen/stack-alloc-string-slice.rs | |
| parent | bb31cb8d2e4e415cbb71d368918d72902e655e01 (diff) | |
| download | rust-7bcfe2ee1067d1304c9a2813c111f10a89984e45.tar.gz rust-7bcfe2ee1067d1304c9a2813c111f10a89984e45.zip | |
std: Remove `RefCell::get()`
It's surprising that `RefCell::get()` is implicitly doing a clone on a value. This patch removes it and replaces all users with either `.borrow()` when we can autoderef, or `.borrow().clone()` when we cannot.
Diffstat (limited to 'src/test/codegen/stack-alloc-string-slice.rs')
0 files changed, 0 insertions, 0 deletions
