summaryrefslogtreecommitdiffstats
path: root/src/file_sum
diff options
context:
space:
mode:
authorCanop <cano.petrole@gmail.com>2021-05-07 10:45:04 +0200
committerCanop <cano.petrole@gmail.com>2021-05-07 10:45:04 +0200
commit8593028c16d899b5b69dec45ac860d252d18af66 (patch)
tree39c3c2171d69e1d92f6bdb1fcbcea354a13ee0e9 /src/file_sum
parent6c4b5ced881851ab38e65061c46ea0760ed9c384 (diff)
new rust version, new clippy
Mostly for the good, this time. I'm just not very happy with being asked to add a hard to read `!is_empty()`.
Diffstat (limited to 'src/file_sum')
-rw-r--r--src/file_sum/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_sum/mod.rs b/src/file_sum/mod.rs
index db7714c..92abf3c 100644
--- a/src/file_sum/mod.rs
+++ b/src/file_sum/mod.rs
@@ -43,7 +43,7 @@ impl FileSum {
count: usize,
modified: u32,
) -> Self {
- Self { real_size, sparse, count, modified }
+ Self { real_size, count, modified, sparse }
}
pub fn zero() -> Self {