summary refs log tree commit diff
path: root/ripple/fossil/src
diff options
context:
space:
mode:
authoredef <edef@unfathomable.blue>2022-04-10 22:18:25 +0000
committeredef <edef@unfathomable.blue>2022-04-10 22:41:22 +0000
commitb143add15898ba6d22339b1408e65364d13b65de (patch)
tree2d4b8a3701d92cd413789a09f45328210532ff8e /ripple/fossil/src
parent5310020334b44fc71c848f812c4e08b684c0cd33 (diff)
downloadunf-legacy-b143add15898ba6d22339b1408e65364d13b65de.tar.zst
ripple/fossil: use [T]::is_empty
Thanks, Clippy!

Change-Id: I9d8d154db76c49807262bb07f37aec0c17725739
Diffstat (limited to 'ripple/fossil/src')
-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 c7957ba..7dca72e 100644
--- a/ripple/fossil/src/lib.rs
+++ b/ripple/fossil/src/lib.rs
@@ -102,7 +102,7 @@ impl Store {
 			buffer.extend_from_slice(&chunk);
 		}
 
-		if buffer.len() == 0 {
+		if buffer.is_empty() {
 			panic!("blob not found");
 		}