diff options
author | edef <edef@unfathomable.blue> | 2022-04-11 17:01:07 +0000 |
---|---|---|
committer | edef <edef@unfathomable.blue> | 2022-04-11 17:01:36 +0000 |
commit | 785a7b77d1b1d0fc6b600af734fdbfcb69dc62ed (patch) | |
tree | b0b13aac9f936f99a4267c43e7c10aa14df63c16 /ripple/fossil | |
parent | bed5094bf0a20069a13936d972058200eba48976 (diff) | |
download | unf-legacy-785a7b77d1b1d0fc6b600af734fdbfcb69dc62ed.tar.zst |
ripple/fossil: don't .ok().expect()
Result::expect already does the right thing, and discards less information. Change-Id: I2d2fbd1981d4c3b84bb287fb4d79d985f8e465c9
Diffstat (limited to 'ripple/fossil')
-rw-r--r-- | ripple/fossil/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ripple/fossil/src/lib.rs b/ripple/fossil/src/lib.rs index 95dec02..008240a 100644 --- a/ripple/fossil/src/lib.rs +++ b/ripple/fossil/src/lib.rs @@ -56,7 +56,7 @@ impl Store { Node::File(FileRef { executable, ident: self.write_blob(&blob), - size: blob.len().try_into().ok().expect("overflow"), + size: blob.len().try_into().expect("overflow"), }) } ty if ty.is_symlink() => { |