summaryrefslogtreecommitdiff
path: root/src/fsentry.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/fsentry.rs')
-rw-r--r--src/fsentry.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fsentry.rs b/src/fsentry.rs
index 28f7c61..35931ab 100644
--- a/src/fsentry.rs
+++ b/src/fsentry.rs
@@ -196,7 +196,7 @@ impl FilesystemKind {
2 => Ok(FilesystemKind::Symlink),
3 => Ok(FilesystemKind::Socket),
4 => Ok(FilesystemKind::Fifo),
- _ => Err(FsEntryError::UnknownFileKindCode(code).into()),
+ _ => Err(FsEntryError::UnknownFileKindCode(code)),
}
}
}