diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-03-12 11:26:45 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-03-12 11:26:45 -0500 |
commit | 4ead14a3153b34941570e87d67064e4aa93fa01a (patch) | |
tree | 8735f60ef0983878c5aba92b6874274a7754110a /src/input.rs | |
parent | 9885f5ca8db5060f95066b16f68f69c1a858cf0f (diff) | |
download | textmode-4ead14a3153b34941570e87d67064e4aa93fa01a.tar.gz textmode-4ead14a3153b34941570e87d67064e4aa93fa01a.zip |
naming
Diffstat (limited to 'src/input.rs')
-rw-r--r-- | src/input.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/input.rs b/src/input.rs index 7a87c8c..7568de2 100644 --- a/src/input.rs +++ b/src/input.rs @@ -3,7 +3,7 @@ use crate::error::*; use futures_lite::io::AsyncReadExt as _; use std::os::unix::io::AsRawFd as _; -use crate::private::InputImpl as _; +use crate::private::Input as _; pub struct RawGuard { termios: nix::sys::termios::Termios, @@ -75,7 +75,7 @@ pub struct Input { parse_single: bool, } -impl super::private::InputImpl for Input { +impl crate::private::Input for Input { fn buf(&self) -> &[u8] { &self.buf[self.pos..] } |