mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 11:37:44 +00:00
Silent some clippy warnings
This commit is contained in:
parent
39b6059910
commit
08f324bf40
2 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,7 @@ fn generate_echo() -> String {
|
||||||
// Randomly decide whether to include options
|
// Randomly decide whether to include options
|
||||||
let include_n = rng.gen_bool(0.1); // 10% chance
|
let include_n = rng.gen_bool(0.1); // 10% chance
|
||||||
let include_e = 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
|
let include_E = rng.gen_bool(0.1); // 10% chance
|
||||||
|
|
||||||
if include_n {
|
if include_n {
|
||||||
|
|
|
@ -18,6 +18,7 @@ use crate::fuzz_common::{
|
||||||
compare_result, generate_and_run_uumain, generate_random_string, run_gnu_cmd,
|
compare_result, generate_and_run_uumain, generate_random_string, run_gnu_cmd,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#[allow(clippy::upper_case_acronyms)]
|
||||||
#[derive(PartialEq, Debug, Clone)]
|
#[derive(PartialEq, Debug, Clone)]
|
||||||
enum ArgType {
|
enum ArgType {
|
||||||
STRING,
|
STRING,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue