Skip to content

Commit

Permalink
Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex6323 committed Apr 20, 2022
1 parent bfb79b3 commit 9e15a34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bee-ledger/src/workers/pruning/batch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ fn prune_message_and_metadata<S: StorageBackend, const BY_SIZE: bool>(
.unwrap();
byte_length += msg.packed_len();

let md = Fetch::<MessageId, MessageMetadata>::fetch(storage, &message_id)
let md = Fetch::<MessageId, MessageMetadata>::fetch(storage, message_id)
.map_err(|e| PruningError::Storage(Box::new(e)))?
.unwrap();
byte_length += md.packed_len();
Expand Down

0 comments on commit 9e15a34

Please sign in to comment.