diff options
author | Lars Wirzenius <liw@liw.fi> | 2020-11-09 08:57:09 +0200 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2020-11-09 08:57:09 +0200 |
commit | 9bb449d22750887d2e0f427e8d75ddb3fde9603b (patch) | |
tree | 76ef9cade73dba2a7ed52f1787c081ebed281563 /src/fsentry.rs | |
parent | 374d19b74d99b9cd9d2a39f80b1cd8fb5e799860 (diff) | |
download | obnam2-9bb449d22750887d2e0f427e8d75ddb3fde9603b.tar.gz |
fix: minor fixes found by clippy
Diffstat (limited to 'src/fsentry.rs')
-rw-r--r-- | src/fsentry.rs | 1 |
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 { |