mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-26 14:37:57 +00:00
address clippy & rustdoc warnings
The comment was out of date anyway, State::Live no longer takes a snapshot_path argument.
This commit is contained in:
@@ -406,7 +406,7 @@ impl<BlockHash: Hash, Key: Hash, D: MetaDb> StateDbSync<BlockHash, Key, D> {
|
||||
}
|
||||
|
||||
fn prune(&mut self, commit: &mut CommitSet<Key>) -> Result<(), Error<D::Error>> {
|
||||
if let (&mut Some(ref mut pruning), &PruningMode::Constrained(ref constraints)) =
|
||||
if let (&mut Some(ref mut pruning), PruningMode::Constrained(constraints)) =
|
||||
(&mut self.pruning, &self.mode)
|
||||
{
|
||||
loop {
|
||||
|
||||
Reference in New Issue
Block a user