File tree Expand file tree Collapse file tree 5 files changed +480
-985
lines changed Expand file tree Collapse file tree 5 files changed +480
-985
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ export send_map;
54
54
export hash;
55
55
export cmp;
56
56
export num;
57
- export path, path2 ;
57
+ export path;
58
58
export managed;
59
59
export flate;
60
60
@@ -254,7 +254,6 @@ mod libc;
254
254
mod os;
255
255
#[warn(non_camel_case_types)]
256
256
mod path;
257
- mod path2;
258
257
#[warn(non_camel_case_types)]
259
258
mod rand;
260
259
#[warn(non_camel_case_types)]
Original file line number Diff line number Diff line change @@ -10,10 +10,10 @@ import option = option::Option;
10
10
11
11
import result:: { Result , Ok , Err } ;
12
12
13
- import Path = path2 :: Path ;
14
- import GenericPath = path2 :: GenericPath ;
15
- import WindowsPath = path2 :: WindowsPath ;
16
- import PosixPath = path2 :: PosixPath ;
13
+ import Path = path :: Path ;
14
+ import GenericPath = path :: GenericPath ;
15
+ import WindowsPath = path :: WindowsPath ;
16
+ import PosixPath = path :: PosixPath ;
17
17
18
18
import tuple:: { TupleOps , ExtendedTupleOps } ;
19
19
import str:: { StrSlice , UniqueStr } ;
Original file line number Diff line number Diff line change @@ -914,7 +914,7 @@ mod tests {
914
914
915
915
#[ test]
916
916
fn test ( ) {
917
- assert ( !path :: path_is_absolute ( ~ "test-path") ) ;
917
+ assert ( !Path ( "test-path" ) . is_absolute ) ;
918
918
919
919
log ( debug, ~"Current working directory: " + getcwd().to_str());
920
920
You can’t perform that action at this time.
0 commit comments