1
Fork 0

Stop parsing old operator overloading syntax

This commit is contained in:
Brian Anderson 2012-08-13 17:42:06 -07:00
parent 2e1b98d34f
commit 6b43c0c1ad
11 changed files with 3 additions and 105 deletions

View file

@ -1911,12 +1911,6 @@ impl ~str: unique_str {
/// Returns a string with trailing whitespace removed
#[inline]
fn trim_right() -> ~str { trim_right(self) }
/// Concatenate two strings: operator version
#[inline(always)]
pure fn +(rhs: &str) -> ~str {
append(self, rhs)
}
}
#[cfg(notest)]