mirror of https://github.com/Tim-Paik/neutauri.git
just no panic
This commit is contained in:
parent
f965abf581
commit
376919d1a5
|
@ -236,7 +236,7 @@ pub fn normalize_path(path: &Path) -> PathBuf {
|
|||
|
||||
for component in components {
|
||||
match component {
|
||||
Component::Prefix(..) => unreachable!(),
|
||||
Component::Prefix(..) => {}
|
||||
Component::RootDir => {
|
||||
ret.push(component.as_os_str());
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue