Skip to content

Commit eca39b0

Browse files
committed
Fix lines longer than 100 characters
1 parent 6a0ecc7 commit eca39b0

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

src/libstd/path/windows.rs

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,8 @@ impl GenericPathUnsafe for Path {
226226
// path is assumed to have a prefix of Some(DiskPrefix)
227227
match me.prefix {
228228
Some(DiskPrefix) => me.repr[0] == path[0].to_ascii().unwrap().to_upper().to_byte(),
229-
Some(VerbatimDiskPrefix) => me.repr[4] == path[0].to_ascii().unwrap().to_upper().to_byte(),
229+
Some(VerbatimDiskPrefix) =>
230+
me.repr[4] == path[0].to_ascii().unwrap().to_upper().to_byte(),
230231
_ => false
231232
}
232233
}
@@ -655,11 +656,13 @@ impl Path {
655656
match (self.prefix, other.prefix) {
656657
(Some(DiskPrefix), Some(VerbatimDiskPrefix)) => {
657658
self.is_absolute() &&
658-
self.repr[0].to_ascii().unwrap().eq_ignore_case(other.repr[4].to_ascii().unwrap())
659+
self.repr[0].to_ascii().unwrap().
660+
eq_ignore_case(other.repr[4].to_ascii().unwrap())
659661
}
660662
(Some(VerbatimDiskPrefix), Some(DiskPrefix)) => {
661663
other.is_absolute() &&
662-
self.repr[4].to_ascii().unwrap().eq_ignore_case(other.repr[0].to_ascii().unwrap())
664+
self.repr[4].to_ascii().unwrap().
665+
eq_ignore_case(other.repr[0].to_ascii().unwrap())
663666
}
664667
(Some(VerbatimDiskPrefix), Some(VerbatimDiskPrefix)) => {
665668
self.repr[4].to_ascii().unwrap().eq_ignore_case(other.repr[4].to_ascii().unwrap())

0 commit comments

Comments
 (0)