rustfmt the expr fuzzer

This commit is contained in:
Sylvestre Ledru 2024-04-01 00:56:22 +02:00
parent fb0c904b07
commit 39b6059910

View file

@ -22,7 +22,8 @@ static CMD_PATH: &str = "expr";
fn generate_expr(max_depth: u32) -> String {
let mut rng = rand::thread_rng();
let ops = [
"+", "-", "*", "/", "%", "<", ">", "=", "&", "|", "!=", "<=", ">=", ":", "index", "length", "substr",
"+", "-", "*", "/", "%", "<", ">", "=", "&", "|", "!=", "<=", ">=", ":", "index", "length",
"substr",
];
let mut expr = String::new();