This commit is contained in:
H. Emre ARI 2019-03-24 03:56:11 +03:00 committed by Pierre Peltier
parent 429fa52838
commit d35afe5d66

View file

@ -64,7 +64,7 @@ impl Meta {
if path.to_str().unwrap() != "." {
let parent_path = match path.parent() {
None => PathBuf::from(&"/"),
None => PathBuf::from("/"),
Some(path) => PathBuf::from(path),
};