mirror of
https://github.com/uutils/coreutils.git
synced 2026-06-10 15:48:22 -07:00
wc: Fix clippy error
This commit is contained in:
+2
-2
@@ -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())
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user