From 1a92b296876b27d44d57b5cef301858a86f7808d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edgar=20Andr=C3=A9s=20Margffoy=20Tuay?= Date: Fri, 16 Sep 2022 19:03:09 -0500 Subject: [PATCH] Remove uneeded unit --- src/pty/base.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pty/base.rs b/src/pty/base.rs index 9d18363..16d38eb 100644 --- a/src/pty/base.rs +++ b/src/pty/base.rs @@ -188,7 +188,7 @@ fn read(mut length: u32, blocking: bool, stream: HANDLE, using_pipes: bool) -> R unsafe { match length { 0 => { - () + } _ => { // let chars_read_ptr = chars_read.as_mut_ptr();