Skip to content

Commit

Permalink
fixup! Rename: FoundPurgedData -> PurgedDataFound
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiasbeyer committed Nov 17, 2022
1 parent 02cea28 commit 417b306
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion banyan/src/tree.rs
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ impl<T: TreeTypes, R: ReadOnlyStore<T::Link>, W: BlockWriter<T::Link>> Transacti
.collect_from(&initial, tree.count())?
.into_iter()
.collect::<Option<Vec<_>>>()
.ok_or_else(|| Error::PurgedDataFound)?;
.ok_or(Error::PurgedDataFound)?;
self.extend(tree, remainder)?;
Ok(())
}
Expand Down

0 comments on commit 417b306

Please sign in to comment.