unnecessary dots

This commit is contained in:
Jay 2020-05-11 23:33:27 +01:00 committed by Abin Simon
parent 618a83383a
commit 52a8ec70f9

View file

@ -98,7 +98,7 @@ impl Name {
let elem = match self.file_type {
FileType::CharDevice => Elem::CharDevice,
FileType::Directory { uid, .. } => Elem::Dir { uid },
FileType::Directory { uid } => Elem::Dir { uid },
FileType::SymLink { .. } => Elem::SymLink,
FileType::File { uid, exec } => Elem::File { uid, exec },
_ => Elem::File {