libcore: include the trim methods in the StrSlice trait
This commit is contained in:
parent
bb1ed97ca2
commit
79603f573e
1 changed files with 3 additions and 0 deletions
|
@ -2086,6 +2086,9 @@ pub trait StrSlice {
|
|||
pure fn to_upper() -> ~str;
|
||||
fn escape_default() -> ~str;
|
||||
fn escape_unicode() -> ~str;
|
||||
fn trim() -> ~str;
|
||||
fn trim_left() -> ~str;
|
||||
fn trim_right() -> ~str;
|
||||
pure fn to_unique() -> ~str;
|
||||
pure fn char_at(i: uint) -> char;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue