1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-28 03:27:44 +00:00

Silent some clippy warnings

This commit is contained in:
Sylvestre Ledru 2024-04-01 01:01:39 +02:00
parent 39b6059910
commit 08f324bf40
2 changed files with 2 additions and 0 deletions

View file

@ -21,6 +21,7 @@ fn generate_echo() -> String {
// Randomly decide whether to include options
let include_n = rng.gen_bool(0.1); // 10% chance
let include_e = rng.gen_bool(0.1); // 10% chance
#[allow(non_snake_case)]
let include_E = rng.gen_bool(0.1); // 10% chance
if include_n {

View file

@ -18,6 +18,7 @@ use crate::fuzz_common::{
compare_result, generate_and_run_uumain, generate_random_string, run_gnu_cmd,
};
#[allow(clippy::upper_case_acronyms)]
#[derive(PartialEq, Debug, Clone)]
enum ArgType {
STRING,