diff options
author | Thomas Zander <thomas.e.zander@googlemail.com> | 2021-05-29 15:31:04 +0200 |
---|---|---|
committer | Thomas Zander <thomas.e.zander@googlemail.com> | 2021-05-29 15:31:04 +0200 |
commit | f91f446823745927d8f8af195fa4c74685393b94 (patch) | |
tree | 7a3a42aa89a59fb214c9ff27c92b40aa4201b028 /zellij-server/src/os_input_output.rs | |
parent | 09d12f8cbd27efa99db47dc412a09872565ecd86 (diff) |
Fix cargo fmt diff.
Diffstat (limited to 'zellij-server/src/os_input_output.rs')
-rw-r--r-- | zellij-server/src/os_input_output.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zellij-server/src/os_input_output.rs b/zellij-server/src/os_input_output.rs index 91a228e72..a104dda21 100644 --- a/zellij-server/src/os_input_output.rs +++ b/zellij-server/src/os_input_output.rs @@ -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 |