aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-02-23 00:17:01 -0500
committerJesse Luehrs <doy@tozt.net>2021-02-23 00:17:01 -0500
commitf3e8046eff473aa9bf940b7fbd156cf3dfbfa352 (patch)
treea6b3ed53e89556cd801a49a0619ba37e4c397be6 /examples
parentacb3681ee251599af194c8555344edc65750ef14 (diff)
downloadpty-process-f3e8046eff473aa9bf940b7fbd156cf3dfbfa352.tar.gz
pty-process-f3e8046eff473aa9bf940b7fbd156cf3dfbfa352.zip
also create separate pty structs per backend
for now, they are identical, but i will change them to be specialized next
Diffstat (limited to 'examples')
-rw-r--r--examples/basic.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/basic.rs b/examples/basic.rs
index d7f99d0..bc9389c 100644
--- a/examples/basic.rs
+++ b/examples/basic.rs
@@ -35,7 +35,7 @@ impl Drop for RawGuard {
}
}
-fn run(child: &pty_process::Child<std::process::Child>) {
+fn run(child: &pty_process::std::Child) {
let _raw = RawGuard::new();
let mut buf = [0_u8; 4096];
let pty = child.pty().as_raw_fd();