mirror of
https://github.com/uutils/coreutils
synced 2024-12-14 15:22:38 +00:00
remove some unnecessary parentheses
This commit is contained in:
parent
9f1219005d
commit
a2e0296ef2
1 changed files with 3 additions and 3 deletions
|
@ -431,9 +431,9 @@ pub fn dry_exec(tmpdir: &str, prefix: &str, rand: usize, suffix: &str) -> UResul
|
|||
rand::thread_rng().fill(bytes);
|
||||
for byte in bytes.iter_mut() {
|
||||
*byte = match *byte % 62 {
|
||||
v @ 0..=9 => (v + b'0'),
|
||||
v @ 10..=35 => (v - 10 + b'a'),
|
||||
v @ 36..=61 => (v - 36 + b'A'),
|
||||
v @ 0..=9 => v + b'0',
|
||||
v @ 10..=35 => v - 10 + b'a',
|
||||
v @ 36..=61 => v - 36 + b'A',
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue