summaryrefslogtreecommitdiff
path: root/src/fsentry.rs
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2020-11-09 08:57:09 +0200
committerLars Wirzenius <liw@liw.fi>2020-11-09 08:57:09 +0200
commit9bb449d22750887d2e0f427e8d75ddb3fde9603b (patch)
tree76ef9cade73dba2a7ed52f1787c081ebed281563 /src/fsentry.rs
parent374d19b74d99b9cd9d2a39f80b1cd8fb5e799860 (diff)
downloadobnam2-9bb449d22750887d2e0f427e8d75ddb3fde9603b.tar.gz
fix: minor fixes found by clippy
Diffstat (limited to 'src/fsentry.rs')
-rw-r--r--src/fsentry.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fsentry.rs b/src/fsentry.rs
index 2a5b153..97274ed 100644
--- a/src/fsentry.rs
+++ b/src/fsentry.rs
@@ -16,6 +16,7 @@ pub struct FilesystemEntry {
len: u64,
}
+#[allow(clippy::len_without_is_empty)]
impl FilesystemEntry {
fn new(kind: FilesystemKind, path: &Path, len: u64) -> Self {
Self {