about summary refs log tree commit diff
path: root/src/test/codegen/stack-alloc-string-slice.rs
diff options
context:
space:
mode:
authorErick Tryzelaar <erick.tryzelaar@gmail.com>2014-03-28 10:29:55 -0700
committerErick Tryzelaar <erick.tryzelaar@gmail.com>2014-04-03 20:28:55 -0700
commit7bcfe2ee1067d1304c9a2813c111f10a89984e45 (patch)
treea42fc0ceadbf33bdfc722236697b65b9688b817e /src/test/codegen/stack-alloc-string-slice.rs
parentbb31cb8d2e4e415cbb71d368918d72902e655e01 (diff)
downloadrust-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