diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-03-06 01:13:42 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-03-06 01:13:42 -0500 |
commit | e9a976fba8da44c298756e189180d7fe061fe7ba (patch) | |
tree | 9bafb74da07a6a49ddcb7849d63de60e83f76d4d /examples/raw_guard/mod.rs | |
parent | 896b15e349a2cf28eb7a9a0add8f5957603e7a75 (diff) | |
download | pty-process-e9a976fba8da44c298756e189180d7fe061fe7ba.tar.gz pty-process-e9a976fba8da44c298756e189180d7fe061fe7ba.zip |
make plain `cargo test` work
Diffstat (limited to 'examples/raw_guard/mod.rs')
-rw-r--r-- | examples/raw_guard/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/raw_guard/mod.rs b/examples/raw_guard/mod.rs index 2930a08..cb6a7d6 100644 --- a/examples/raw_guard/mod.rs +++ b/examples/raw_guard/mod.rs @@ -5,6 +5,7 @@ pub struct RawGuard { } impl RawGuard { + #[allow(dead_code)] pub fn new() -> Self { let stdin = std::io::stdin().as_raw_fd(); let termios = nix::sys::termios::tcgetattr(stdin).unwrap(); |