mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-29 06:59:49 +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:
1 parent
fc5b3f4f1c
commit
faaa0c2851
4 files changed
+4
-9
No files matched your search
@@ -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