From e6c94c1cd73ec21ac520dfa14aa3d018902c2280 Mon Sep 17 00:00:00 2001 From: Allan Silva Date: Mon, 7 Feb 2022 10:20:52 -0300 Subject: [PATCH] wc: Fix clippy error --- src/uu/wc/src/wc.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()) } } }