File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ pub use WindowsPath = path::WindowsPath;
12
12
pub use PosixPath = path:: PosixPath ;
13
13
14
14
pub use tuple:: { CopyableTuple , ImmutableTuple , ExtendedTupleOps } ;
15
- pub use str:: { StrSlice , UniqueStr } ;
15
+ pub use str:: { StrSlice , Trimmable } ;
16
16
pub use vec:: { ConstVector , CopyableVector , ImmutableVector } ;
17
17
pub use vec:: { ImmutableEqVector , ImmutableCopyableVector } ;
18
18
pub use vec:: { MutableVector , MutableCopyableVector } ;
Original file line number Diff line number Diff line change @@ -2029,14 +2029,14 @@ pub mod raw {
2029
2029
2030
2030
}
2031
2031
2032
- pub trait UniqueStr {
2032
+ pub trait Trimmable {
2033
2033
pure fn trim ( ) -> self ;
2034
2034
pure fn trim_left ( ) -> self ;
2035
2035
pure fn trim_right ( ) -> self ;
2036
2036
}
2037
2037
2038
2038
/// Extension methods for strings
2039
- impl ~str : UniqueStr {
2039
+ impl ~str : Trimmable {
2040
2040
/// Returns a string with leading and trailing whitespace removed
2041
2041
#[ inline]
2042
2042
pure fn trim ( ) -> ~str { trim ( self ) }
You can’t perform that action at this time.
0 commit comments