File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
branches/try2/src/libcore Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ refs/heads/snap-stage3: eb8fd119c65c67f3b1b8268cc7341c22d39b7b61
5
5
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
8
- refs/heads/try2: 8492a029e8741d80489a6c8d0e673927ead95b7c
8
+ refs/heads/try2: 81e66ae1fbc8e76a21c78d6c0aeab9119263dfee
9
9
refs/heads/incoming: d9317a174e434d4c99fc1a37fd7dc0d2f5328d37
10
10
refs/heads/dist-snap: 22efa39382d41b084fde1719df7ae8ce5697d8c9
11
11
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
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