summary refs log tree commit diff
path: root/ripple
diff options
context:
space:
mode:
authoredef <edef@unfathomable.blue>2022-04-11 17:01:07 +0000
committeredef <edef@unfathomable.blue>2022-04-11 17:01:36 +0000
commit785a7b77d1b1d0fc6b600af734fdbfcb69dc62ed (patch)
treeb0b13aac9f936f99a4267c43e7c10aa14df63c16 /ripple
parentbed5094bf0a20069a13936d972058200eba48976 (diff)
ripple/fossil: don't .ok().expect()
Result::expect already does the right thing, and discards less
information.

Change-Id: I2d2fbd1981d4c3b84bb287fb4d79d985f8e465c9
Diffstat (limited to 'ripple')
-rw-r--r--ripple/fossil/src/lib.rs2
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() => {