File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ fn parse_military_timezone_with_offset(s: &str) -> Option<(i32, DayDelta)> {
318318pub fn uumain ( args : impl uucore:: Args ) -> UResult < ( ) > {
319319 let matches = uucore:: clap_localization:: handle_clap_result ( uu_app ( ) , args) ?;
320320
321- let date_source = if let Some ( date_os) = matches. get_one :: < std :: ffi :: OsString > ( OPT_DATE ) {
321+ let date_source = if let Some ( date_os) = matches. get_one :: < OsString > ( OPT_DATE ) {
322322 // Convert OsString to String, handling invalid UTF-8 with GNU-compatible error
323323 let date = date_os. to_str ( ) . ok_or_else ( || {
324324 let bytes = date_os. as_encoded_bytes ( ) ;
@@ -650,7 +650,7 @@ pub fn uu_app() -> Command {
650650 . value_name ( "STRING" )
651651 . allow_hyphen_values ( true )
652652 . overrides_with ( OPT_DATE )
653- . value_parser ( clap:: value_parser!( std :: ffi :: OsString ) )
653+ . value_parser ( clap:: value_parser!( OsString ) )
654654 . help ( translate ! ( "date-help-date" ) ) ,
655655 )
656656 . arg (
You can’t perform that action at this time.
0 commit comments