diff options
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"); } |