File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -649,19 +649,13 @@ fn print_terminal_size(
649649 // On Linux and BSD, most architectures represent baud rate as a numeric value (u32),
650650 // so it can be printed directly.
651651 #[ cfg( any( target_os = "linux" , bsd) ) ]
652- #[ cfg( all(
653- not( target_arch = "powerpc" ) ,
654- not( target_arch = "powerpc64" )
655- ) ) ]
652+ #[ cfg( all( not( target_arch = "powerpc" ) , not( target_arch = "powerpc64" ) ) ) ]
656653 printer. print ( & translate ! ( "stty-output-speed" , "speed" => speed) ) ;
657654
658655 // On PowerPC (including powerpc64 and ppc64le), baud rates are represented as enum values,
659656 // so we need to map them to their corresponding numeric strings for display.
660657 #[ cfg( target_os = "linux" ) ]
661- #[ cfg( any(
662- target_arch = "powerpc" ,
663- target_arch = "powerpc64"
664- ) ) ]
658+ #[ cfg( any( target_arch = "powerpc" , target_arch = "powerpc64" ) ) ]
665659 {
666660 // On PowerPC, find the corresponding baud rate string for display
667661 let speed_str = BAUD_RATES
You can’t perform that action at this time.
0 commit comments