mirror of
https://github.com/uutils/coreutils.git
synced 2025-12-23 08:47:37 +00:00
fuzz: remove a warning
This commit is contained in:
parent
816533b59d
commit
536abfb87f
1 changed files with 1 additions and 1 deletions
|
|
@ -423,7 +423,7 @@ pub fn generate_random_file() -> Result<String, std::io::Error> {
|
|||
|
||||
let content_length = rng.random_range(10..1000);
|
||||
let content: String = (0..content_length)
|
||||
.map(|_| (rng.random_range(b' '..=b'~') as char))
|
||||
.map(|_| rng.random_range(b' '..=b'~') as char)
|
||||
.collect();
|
||||
|
||||
file.write_all(content.as_bytes())?;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue