Remove unnecessary format in panic
This change fixes a warning in the tests about an unnecessary format in
a panic call.  This warning was introduced in Rust 1.51
@@ -929,11 +929,11 @@ fn assert_has_successors(change_log: &ChangeLogEntry, successor_roots: &[&[u8]])
}
}
if !has_root {
- panic!(format!(
+ panic!(
"Root {} not found in change log {:?}",
::hex::encode(successor_root),
change_log
- ));
+ );
}
}
}
