Skip to content

Commit 3c9a268

Browse files
committed
fixup #31878
1 parent acea6fc commit 3c9a268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libstd/path.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ mod platform {
226226
}
227227
_ => (),
228228
}
229-
} else if path.get(1) == Some(b':') {
229+
} else if path.get(1) == Some(& b':') {
230230
// C:
231231
let c = path[0];
232232
if c.is_ascii() && (c as char).is_alphabetic() {

0 commit comments

Comments
 (0)