Runs and fixes changes from fmt, clippy, check and test

This commit is contained in:
Elijah Hampton 2024-03-22 21:10:26 -04:00
parent c438db59e5
commit 5b363bb657
2 changed files with 8 additions and 1 deletions

View File

@ -0,0 +1,7 @@
# Seeds for failure cases proptest has generated in the past. It is
# automatically read and these particular cases re-run before any
# novel cases are generated.
#
# It is recommended to check this file in to source control so that
# everyone who runs the test benefits from these saved cases.
cc 87796acaee1f1592fdf835469006899f9dd41c3db5ba448e6ddba4b51f699ffc # shrinks to total_number_of_peers = 2

View File

@ -523,7 +523,7 @@ impl DiskDb {
let column_families = DiskDb::construct_column_families(&db_options, db.path(), &[]);
let mut column_families_log_string = String::from("");
write!(column_families_log_string, "Column families and sizes: ").unwrap();
for (i, cf_descriptor) in column_families.iter().enumerate() {
for cf_descriptor in column_families.iter() {
let cf_name = &cf_descriptor.name();
let cf_handle = db
.cf_handle(cf_name)