diff --git a/src/uu/wc/src/wc.rs b/src/uu/wc/src/wc.rs index 2afbe4e21..97ea26b8b 100644 --- a/src/uu/wc/src/wc.rs +++ b/src/uu/wc/src/wc.rs @@ -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()) } } }