Skip to content

Commit aef8ed0

Browse files
committed
---
yaml --- r: 13492 b: refs/heads/master c: 70dde68 h: refs/heads/master v: v3
1 parent 874e655 commit aef8ed0

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: c96ae78c38716484ab4bc0468e9b640e9a42891e
2+
refs/heads/master: 70dde68cfbf1a549fdcd0a9d60c1e90f3b1f2a22
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 4a81779abd786ff22d71434c6d9a5917ea4cdfff
55
refs/heads/try: 2898dcc5d97da9427ac367542382b6239d9c0bbf

trunk/src/libcore/path.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,20 +12,20 @@ export split;
1212
export splitext;
1313
export normalize;
1414

15-
// FIXME: This type should probably be constrained
15+
// FIXME: This type should probably be constrained (#2624)
1616
#[doc = "A path or fragment of a filesystem path"]
1717
type path = str;
1818

1919
#[cfg(unix)]
2020
mod consts {
2121
#[doc = "
22-
The primary path seperator character for the platform
22+
The primary path separator character for the platform
2323
2424
On all platforms it is '/'
2525
"]
2626
const path_sep: char = '/';
2727
#[doc = "
28-
The secondary path seperator character for the platform
28+
The secondary path separator character for the platform
2929
3030
On Unixes it is '/'. On Windows it is '\\'.
3131
"]
@@ -98,7 +98,6 @@ fn basename(pp: path) -> path {
9898
ret split_dirname_basename(pp).basename;
9999
}
100100

101-
// FIXME: Need some typestate to avoid bounds check when len(pre) == 0
102101
#[doc = "
103102
Connects to path segments
104103

0 commit comments

Comments
 (0)