chore: make clippy happy (#6033)

This commit is contained in:
Dan Cline
2024-01-12 01:25:06 -05:00
committed by GitHub
parent 622ac2e9b1
commit 8686e97290
3 changed files with 4 additions and 10 deletions

View File

@ -142,7 +142,7 @@ impl Command {
.clean_threshold
.max(stage_conf.account_hashing.clean_threshold)
.max(stage_conf.storage_hashing.clean_threshold),
config.prune.as_ref().map(|prune| prune.segments.clone()).unwrap_or_default(),
config.prune.clone().map(|prune| prune.segments).unwrap_or_default(),
)),
)
.build(provider_factory);