Skip to content

Commit 3e90bfe

Browse files
committed
chore: run cargo fmt
1 parent 2ae9cd6 commit 3e90bfe

1 file changed

Lines changed: 2 additions & 8 deletions

File tree

src/uu/stty/src/stty.rs

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)