Address Clippy lints.

This commit is contained in:
Kris Nuttycombe 2023-05-10 16:55:08 -06:00
parent 247b38f336
commit 666e72482a
1 changed files with 2 additions and 1 deletions

View File

@ -1678,7 +1678,7 @@ impl<H, C: Ord> ShardStore<H, C> for MemoryShardStore<H, C> {
return Ok(true);
}
return Ok(false);
Ok(false)
}
fn remove_checkpoint(&mut self, checkpoint_id: &C) -> Result<(), Self::Error> {
@ -2349,6 +2349,7 @@ impl<
position: Position,
as_of_checkpoint: &C,
) -> Result<bool, S::Error> {
#[allow(clippy::blocks_in_if_conditions)]
if self.get_marked_leaf(position).is_some() {
if self
.store