rustfmt the expr fuzzer

This commit is contained in:
Sylvestre Ledru
2024-04-01 01:06:17 +02:00
parent fb0c904b07
commit 39b6059910
+2 -1
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();