mirror of
https://github.com/RGBCube/uutils-coreutils
synced 2025-07-28 19:47:45 +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 {
|
impl From<&OsStr> for Input {
|
||||||
fn from(input: &OsStr) -> Self {
|
fn from(input: &OsStr) -> Self {
|
||||||
if input == STDIN_REPR {
|
if input == STDIN_REPR {
|
||||||
Input::Stdin(StdinKind::Explicit)
|
Self::Stdin(StdinKind::Explicit)
|
||||||
} else {
|
} else {
|
||||||
Input::Path(input.into())
|
Self::Path(input.into())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue