about summary refs log tree commit diff
diff options
context:
space:
mode:
authorTim Chevalier <chevalier@alum.wellesley.edu>2012-06-14 19:09:36 -0700
committerTim Chevalier <chevalier@alum.wellesley.edu>2012-06-14 19:32:41 -0700
commit70dde68cfbf1a549fdcd0a9d60c1e90f3b1f2a22 (patch)
treedf9cb81b563cd0d3bce03aad8c2700ae9f4eca31
parentc96ae78c38716484ab4bc0468e9b640e9a42891e (diff)
downloadrust-70dde68cfbf1a549fdcd0a9d60c1e90f3b1f2a22.tar.gz
rust-70dde68cfbf1a549fdcd0a9d60c1e90f3b1f2a22.zip
Annotate one FIXME and remove another
...since we probably won't have this kind of typestate.
-rw-r--r--src/libcore/path.rs7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/libcore/path.rs b/src/libcore/path.rs
index 2e62b73063d..560e4282411 100644
--- a/src/libcore/path.rs
+++ b/src/libcore/path.rs
@@ -12,20 +12,20 @@ export split;
 export splitext;
 export normalize;
 
-// FIXME: This type should probably be constrained
+// FIXME: This type should probably be constrained (#2624)
 #[doc = "A path or fragment of a filesystem path"]
 type path = str;
 
 #[cfg(unix)]
 mod consts {
     #[doc = "
-    The primary path seperator character for the platform
+    The primary path separator character for the platform
 
     On all platforms it is '/'
     "]
     const path_sep: char = '/';
     #[doc = "
-    The secondary path seperator character for the platform
+    The secondary path separator character for the platform
 
     On Unixes it is '/'. On Windows it is '\\'.
     "]
@@ -98,7 +98,6 @@ fn basename(pp: path) -> path {
     ret split_dirname_basename(pp).basename;
 }
 
-// FIXME: Need some typestate to avoid bounds check when len(pre) == 0
 #[doc = "
 Connects to path segments