diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-02-22 03:43:49 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-02-22 03:43:49 -0500 |
commit | edfffc8c490b9d179a62901dfb874a85ab0984e3 (patch) | |
tree | 59eb9120eb4f61d5d9d43cafb1a51eadaef6891f /examples | |
parent | 2d3e62e97d1dc80594bdb302426cc226c6a9735c (diff) | |
download | pty-process-edfffc8c490b9d179a62901dfb874a85ab0984e3.tar.gz pty-process-edfffc8c490b9d179a62901dfb874a85ab0984e3.zip |
refactor
Diffstat (limited to 'examples')
-rw-r--r-- | examples/basic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/basic.rs b/examples/basic.rs index c0c1236..d7f99d0 100644 --- a/examples/basic.rs +++ b/examples/basic.rs @@ -35,7 +35,7 @@ impl Drop for RawGuard { } } -fn run(child: &pty_process::Child) { +fn run(child: &pty_process::Child<std::process::Child>) { let _raw = RawGuard::new(); let mut buf = [0_u8; 4096]; let pty = child.pty().as_raw_fd(); |