Fix cargo fmt diff.
This commit is contained in:
parent
09d12f8cbd
commit
f91f446823
1 changed files with 3 additions and 1 deletions
|
|
@ -45,7 +45,9 @@ pub(crate) fn set_terminal_size_using_fd(fd: RawFd, columns: u16, rows: u16) {
|
|||
// some platforms. When checked on Linux, clippy will complain about
|
||||
// useless conversion.
|
||||
#[allow(clippy::useless_conversion)]
|
||||
unsafe { ioctl(fd, TIOCSWINSZ.into(), &winsize) };
|
||||
unsafe {
|
||||
ioctl(fd, TIOCSWINSZ.into(), &winsize)
|
||||
};
|
||||
}
|
||||
|
||||
/// Handle some signals for the child process. This will loop until the child
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue