Remove unnecessary format!()
in panic!()
.
This commit is contained in:
parent
39a7bd09f1
commit
c5bb29141e
@ -230,10 +230,10 @@ fn main() {
|
||||
err => panic!("unknown error decoding -Zmiri-seed as hex: {:?}", err),
|
||||
});
|
||||
if seed_raw.len() > 8 {
|
||||
panic!(format!(
|
||||
panic!(
|
||||
"-Zmiri-seed must be at most 8 bytes, was {}",
|
||||
seed_raw.len()
|
||||
));
|
||||
);
|
||||
}
|
||||
|
||||
let mut bytes = [0; 8];
|
||||
|
Loading…
x
Reference in New Issue
Block a user