aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-02-27 13:25:07 -0500
committerJesse Luehrs <doy@tozt.net>2021-02-27 13:25:07 -0500
commita4bd6da79c239c107cd727504a303fd3d2789148 (patch)
tree992bb65e1d80e0290a73d2e6848e6f96adea0aea /examples
parentdb4a7d7d32b702736940aa0bd8d11c2ed8645b99 (diff)
downloadpty-process-a4bd6da79c239c107cd727504a303fd3d2789148.tar.gz
pty-process-a4bd6da79c239c107cd727504a303fd3d2789148.zip
give smol its own named api too
Diffstat (limited to 'examples')
-rw-r--r--examples/smol.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/smol.rs b/examples/smol.rs
index dd6fba3..5512c2d 100644
--- a/examples/smol.rs
+++ b/examples/smol.rs
@@ -35,7 +35,7 @@ impl Drop for RawGuard {
}
async fn run(
- child: &pty_process::async_std::Child,
+ child: &pty_process::smol::Child,
) -> std::result::Result<(), Box<dyn std::error::Error>> {
let _raw = RawGuard::new();