Remove uses of binary move - <- - from tests and libraries
This commit is contained in:
parent
804c608f01
commit
11e92f37c1
69 changed files with 151 additions and 136 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue