diff --git a/src/uu/numfmt/src/options.rs b/src/uu/numfmt/src/options.rs index 74c77a5b3bf..634dc70be6e 100644 --- a/src/uu/numfmt/src/options.rs +++ b/src/uu/numfmt/src/options.rs @@ -247,7 +247,7 @@ impl FromStr for InvalidModes { "fail" => Ok(Self::Fail), "warn" => Ok(Self::Warn), "ignore" => Ok(Self::Ignore), - unknown => Err(format!("Unknown invalid mode: {}", unknown)), + unknown => Err(format!("Unknown invalid mode: {unknown}")), } } }