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 e8c88ba..52c1edb 100644
--- a/examples/async.rs
+++ b/examples/async.rs
@@ -24,8 +24,8 @@ async fn run(
fn main() {
smol::block_on(async {
- let mut tm = textmode::Output::new().await.unwrap();
let mut input = textmode::Input::new().await.unwrap();
+ let mut tm = textmode::Output::new().await.unwrap();
let e = run(&mut tm, &mut input).await;
e.unwrap();
});