File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -12,20 +12,20 @@ export split;
12
12
export splitext;
13
13
export normalize;
14
14
15
- // FIXME: This type should probably be constrained
15
+ // FIXME: This type should probably be constrained (#2624)
16
16
#[ doc = "A path or fragment of a filesystem path" ]
17
17
type path = str ;
18
18
19
19
#[ cfg( unix) ]
20
20
mod consts {
21
21
#[ doc = "
22
- The primary path seperator character for the platform
22
+ The primary path separator character for the platform
23
23
24
24
On all platforms it is '/'
25
25
" ]
26
26
const path_sep: char = '/' ;
27
27
#[ doc = "
28
- The secondary path seperator character for the platform
28
+ The secondary path separator character for the platform
29
29
30
30
On Unixes it is '/'. On Windows it is '\\ '.
31
31
" ]
@@ -98,7 +98,6 @@ fn basename(pp: path) -> path {
98
98
ret split_dirname_basename ( pp) . basename ;
99
99
}
100
100
101
- // FIXME: Need some typestate to avoid bounds check when len(pre) == 0
102
101
#[ doc = "
103
102
Connects to path segments
104
103
You can’t perform that action at this time.
0 commit comments