Skip to content

Commit 2c3cff0

Browse files
stty: fix rustfmt errors
1 parent 8a6e390 commit 2c3cff0

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/uu/stty/src/stty.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,14 @@
88
mod flags;
99

1010
use clap::{Arg, ArgAction, ArgMatches, Command};
11-
use nix::libc::{c_ushort, O_NONBLOCK, TIOCGWINSZ, TIOCSWINSZ};
11+
use nix::libc::{O_NONBLOCK, TIOCGWINSZ, TIOCSWINSZ, c_ushort};
1212
use nix::sys::termios::{
13-
cfgetospeed, cfsetospeed, tcgetattr, tcsetattr, ControlFlags, InputFlags, LocalFlags,
14-
OutputFlags, SpecialCharacterIndices, Termios,
13+
ControlFlags, InputFlags, LocalFlags, OutputFlags, SpecialCharacterIndices, Termios,
14+
cfgetospeed, cfsetospeed, tcgetattr, tcsetattr,
1515
};
1616
use nix::{ioctl_read_bad, ioctl_write_ptr_bad};
1717
use std::fs::File;
18-
use std::io::{self, stdout, Stdout};
18+
use std::io::{self, Stdout, stdout};
1919
use std::ops::ControlFlow;
2020
use std::os::fd::{AsFd, BorrowedFd};
2121
use std::os::unix::fs::OpenOptionsExt;

0 commit comments

Comments
 (0)