From a052f814289d5f1f4751cc50e1d2aef879da43a8 Mon Sep 17 00:00:00 2001 From: edef Date: Tue, 3 May 2022 16:04:38 +0000 Subject: ripple/fossil: fix clippy nit Change-Id: I2c9b2a15ac066ec2295d54665afd301f396efdc1 --- ripple/fossil/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ripple/fossil') diff --git a/ripple/fossil/src/lib.rs b/ripple/fossil/src/lib.rs index ca474e3..004cf45 100644 --- a/ripple/fossil/src/lib.rs +++ b/ripple/fossil/src/lib.rs @@ -138,7 +138,7 @@ impl Store { let mut outboard = Vec::new(); let ident: blake3::Hash = { let mut encoder = bao::encode::Encoder::new_outboard(io::Cursor::new(&mut outboard)); - encoder.write_all(&data).unwrap(); + encoder.write_all(data).unwrap(); encoder.finalize().unwrap() }; -- cgit 1.4.1