clippy: passing BlocktreeConfig by ref is ok

This commit is contained in:
Michael Vines
2019-02-12 10:29:42 -08:00
parent 6632c7026d
commit 6abdd6401d
2 changed files with 6 additions and 0 deletions

View File

@ -467,6 +467,7 @@ impl Fullnode {
}
}
#[allow(clippy::trivially_copy_pass_by_ref)]
pub fn new_bank_from_ledger(
ledger_path: &str,
ledger_config: &BlocktreeConfig,