Stop parsing old operator overloading syntax
This commit is contained in:
parent
2e1b98d34f
commit
6b43c0c1ad
11 changed files with 3 additions and 105 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue