mirror of
https://github.com/uutils/coreutils
synced 2024-11-17 10:18:11 +00:00
refactor/polish ~ fix cargo clippy
complaints (unneeded _
)
This commit is contained in:
parent
493f5f1496
commit
ba5a2435be
2 changed files with 2 additions and 2 deletions
|
@ -160,7 +160,7 @@ fn _round_str_from(in_str: &str, position: usize) -> (String, bool) {
|
|||
'9' => {
|
||||
rev.push('0');
|
||||
}
|
||||
e @ _ => {
|
||||
e => {
|
||||
rev.push(((e as u8) + 1) as char);
|
||||
finished_in_dec = true;
|
||||
break;
|
||||
|
|
|
@ -120,7 +120,7 @@ impl UnescapedText {
|
|||
byte_vec.push(ch as u8);
|
||||
}
|
||||
}
|
||||
e @ _ => {
|
||||
e => {
|
||||
// only for hex and octal
|
||||
// is byte encoding specified.
|
||||
// otherwise, why not leave the door open
|
||||
|
|
Loading…
Reference in a new issue