mirror of
https://github.com/uutils/coreutils
synced 2024-11-17 02:08:09 +00:00
wc: Fix clippy error
This commit is contained in:
parent
6a6875012e
commit
e6c94c1cd7
1 changed files with 2 additions and 2 deletions
|
@ -123,9 +123,9 @@ enum Input {
|
|||
impl From<&OsStr> for Input {
|
||||
fn from(input: &OsStr) -> Self {
|
||||
if input == STDIN_REPR {
|
||||
Input::Stdin(StdinKind::Explicit)
|
||||
Self::Stdin(StdinKind::Explicit)
|
||||
} else {
|
||||
Input::Path(input.into())
|
||||
Self::Path(input.into())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue