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 @@ -2075,14 +2075,14 @@ pub mod raw {
2075
2075
2076
2076
}
2077
2077
2078
- pub trait UniqueStr {
2078
+ pub trait Trimmable {
2079
2079
pure fn trim ( ) -> self ;
2080
2080
pure fn trim_left ( ) -> self ;
2081
2081
pure fn trim_right ( ) -> self ;
2082
2082
}
2083
2083
2084
2084
/// Extension methods for strings
2085
- impl ~str : UniqueStr {
2085
+ impl ~str : Trimmable {
2086
2086
/// Returns a string with leading and trailing whitespace removed
2087
2087
#[ inline]
2088
2088
pure fn trim ( ) -> ~str { trim ( self ) }
You can’t perform that action at this time.
0 commit comments