diff options
author | edef <edef@unfathomable.blue> | 2022-04-10 22:18:25 +0000 |
---|---|---|
committer | edef <edef@unfathomable.blue> | 2022-04-10 22:41:22 +0000 |
commit | b143add15898ba6d22339b1408e65364d13b65de (patch) | |
tree | 2d4b8a3701d92cd413789a09f45328210532ff8e /ripple/fossil | |
parent | 5310020334b44fc71c848f812c4e08b684c0cd33 (diff) | |
download | unf-legacy-b143add15898ba6d22339b1408e65364d13b65de.tar.zst |
ripple/fossil: use [T]::is_empty
Thanks, Clippy! Change-Id: I9d8d154db76c49807262bb07f37aec0c17725739
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 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"); } |