File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -257,7 +257,7 @@ impl<'a> NativeStr<'a> {
257257 let n_prefix = to_native_int_representation ( prefix) ;
258258 let result = self . match_cow (
259259 |b| b. strip_prefix ( & * n_prefix) . ok_or ( ( ) ) ,
260- |o| o. strip_prefix ( & * n_prefix) . map ( <[ u8 ] >:: to_vec) . ok_or ( ( ) ) ,
260+ |o| o. strip_prefix ( & * n_prefix) . map ( <[ _ ] >:: to_vec) . ok_or ( ( ) ) ,
261261 ) ;
262262 result. ok ( )
263263 }
@@ -266,7 +266,7 @@ impl<'a> NativeStr<'a> {
266266 let n_prefix = to_native_int_representation ( prefix) ;
267267 let result = self . match_cow_native (
268268 |b| b. strip_prefix ( & * n_prefix) . ok_or ( ( ) ) ,
269- |o| o. strip_prefix ( & * n_prefix) . map ( <[ u8 ] >:: to_vec) . ok_or ( ( ) ) ,
269+ |o| o. strip_prefix ( & * n_prefix) . map ( <[ _ ] >:: to_vec) . ok_or ( ( ) ) ,
270270 ) ;
271271 result. ok ( )
272272 }
Original file line number Diff line number Diff line change @@ -339,9 +339,9 @@ pub fn uumain(args: impl uucore::Args) -> UResult<()> {
339339}
340340
341341pub fn uu_app ( ) -> Command {
342- Command :: new ( uucore :: util_name ( ) )
342+ Command :: new ( util_name ( ) )
343343 . version ( uucore:: crate_version!( ) )
344- . help_template ( uucore:: localized_help_template ( uucore :: util_name ( ) ) )
344+ . help_template ( uucore:: localized_help_template ( util_name ( ) ) )
345345 . about ( translate ! ( "numfmt-about" ) )
346346 . after_help ( translate ! ( "numfmt-after-help" ) )
347347 . override_usage ( format_usage ( & translate ! ( "numfmt-usage" ) ) )
You can’t perform that action at this time.
0 commit comments