1
Fork 0

Remove uses of binary move - <- - from tests and libraries

This commit is contained in:
Tim Chevalier 2012-10-23 11:11:23 -07:00
parent 804c608f01
commit 11e92f37c1
69 changed files with 151 additions and 136 deletions

View file

@ -176,7 +176,7 @@ pub fn push_str(lhs: &mut ~str, rhs: &str) {
/// Concatenate two strings together
#[inline(always)]
pub pure fn append(lhs: ~str, rhs: &str) -> ~str {
let mut v <- lhs;
let mut v = move lhs;
unsafe {
push_str_no_overallocate(&mut v, rhs);
}