mirror of
https://github.com/zellij-org/zellij.git
synced 2024-11-27 14:34:32 +03:00
Fix cargo fmt diff.
This commit is contained in:
parent
09d12f8cbd
commit
f91f446823
@ -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…
Reference in New Issue
Block a user