]> git.lizzy.rs Git - rust.git/commitdiff
fixup #31878
authorManish Goregaokar <manishsmail@gmail.com>
Fri, 26 Feb 2016 11:35:46 +0000 (17:05 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Fri, 26 Feb 2016 11:35:46 +0000 (17:05 +0530)
src/libstd/path.rs

index 81d9d0a7f103b6a8611b0cc12ab45c5153201a17..94967bfb96ad315c9a860ea3f10efd34ce470c4d 100644 (file)
@@ -226,7 +226,7 @@ pub fn parse_prefix<'a>(path: &'a OsStr) -> Option<Prefix> {
                     }
                     _ => (),
                 }
-            } else if path.get(1) == Some(b':') {
+            } else if path.get(1) == Some(b':') {
                 // C:
                 let c = path[0];
                 if c.is_ascii() && (c as char).is_alphabetic() {