aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2019-07-09 03:15:24 -0400
committerJesse Luehrs <doy@tozt.net>2019-07-09 03:15:24 -0400
commit09396b0ffdc8d4fdee11da7db8b951d3575408d4 (patch)
treebab1db1b4129b7d3db0495046aa9733d635846a5
parent2510f46e32ade9f7c3f6d2546e8a7338f4c27cd7 (diff)
downloadnbsh-old-09396b0ffdc8d4fdee11da7db8b951d3575408d4.tar.gz
nbsh-old-09396b0ffdc8d4fdee11da7db8b951d3575408d4.zip
fix warning in example
-rw-r--r--examples/pty.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/examples/pty.rs b/examples/pty.rs
index d5b5a88..3f38193 100644
--- a/examples/pty.rs
+++ b/examples/pty.rs
@@ -13,7 +13,6 @@ fn main() {
child
.map(|status| {
eprintln!("got status {}", status);
- ()
})
.map_err(|_| ()),
)