Show More
@@ -67,7 +67,7 b' impl PathAuditor {' | |||||
67 | // Windows shortname aliases |
|
67 | // Windows shortname aliases | |
68 | for part in parts.iter() { |
|
68 | for part in parts.iter() { | |
69 | if part.contains(&b'~') { |
|
69 | if part.contains(&b'~') { | |
70 |
let mut split = part.splitn( |
|
70 | let mut split = part.splitn(2, |b| *b == b'~'); | |
71 | let first = |
|
71 | let first = | |
72 | split.next().unwrap().to_owned().to_ascii_uppercase(); |
|
72 | split.next().unwrap().to_owned().to_ascii_uppercase(); | |
73 | let last = split.next().unwrap(); |
|
73 | let last = split.next().unwrap(); |
General Comments 0
You need to be logged in to leave comments.
Login now