mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-09-17 04:06:18 +00:00
refactor/mkfifo ~ fix cargo clippy
complaint (clippy::needless_borrow)
This commit is contained in:
parent
380e28dde5
commit
5889d81fde
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ pub fn uumain(args: impl uucore::Args) -> i32 {
|
|||
}
|
||||
|
||||
let mode = match matches.value_of(options::MODE) {
|
||||
Some(m) => match usize::from_str_radix(&m, 8) {
|
||||
Some(m) => match usize::from_str_radix(m, 8) {
|
||||
Ok(m) => m,
|
||||
Err(e) => {
|
||||
show_error!("invalid mode: {}", e);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue