aboutsummaryrefslogtreecommitdiffstats
path: root/examples/async.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/async.rs')
-rw-r--r--examples/async.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/async.rs b/examples/async.rs
index 3ff4c92..5102aba 100644
--- a/examples/async.rs
+++ b/examples/async.rs
@@ -21,7 +21,7 @@ async fn run(tm: &mut textmode::Output) -> textmode::Result<()> {
fn main() {
smol::block_on(async {
- let (mut tm, _guard) = textmode::Output::new().await.unwrap();
+ let mut tm = textmode::Output::new().await.unwrap();
let e = run(&mut tm).await;
e.unwrap();
});