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 | |
| parent | Fix build on platforms with TIOCGWINSZ / ioctl() integer type mismatch. (diff) | |
| download | sl0ppij-f91f446823745927d8f8af195fa4c74685393b94.tar.gz sl0ppij-f91f446823745927d8f8af195fa4c74685393b94.tar.xz sl0ppij-f91f446823745927d8f8af195fa4c74685393b94.zip | |
Fix cargo fmt diff.
| -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 91a228e7..a104dda2 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 |
