about summary refs log tree commit diff
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2016-02-26 17:05:46 +0530
committerManish Goregaokar <manishsmail@gmail.com>2016-02-26 17:05:46 +0530
commit3c9a26853cca8783892d5b2373e9de63b5f488b5 (patch)
tree0dfadb3c34406724a5ea82b7a6a30553760f2c9d
parentacea6fc1cb5edf5211ade6ad4a79b119879eab82 (diff)
downloadrust-3c9a26853cca8783892d5b2373e9de63b5f488b5.tar.gz
rust-3c9a26853cca8783892d5b2373e9de63b5f488b5.zip
fixup #31878
-rw-r--r--src/libstd/path.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/path.rs b/src/libstd/path.rs
index 81d9d0a7f10..94967bfb96a 100644
--- a/src/libstd/path.rs
+++ b/src/libstd/path.rs
@@ -226,7 +226,7 @@ mod platform {
                     }
                     _ => (),
                 }
-            } 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() {