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 af5ccb5..3ff4c92 100644
--- a/examples/async.rs
+++ b/examples/async.rs
@@ -1,6 +1,6 @@
use textmode::Textmode as _;
-async fn run(tm: &mut textmode::Output) -> std::io::Result<()> {
+async fn run(tm: &mut textmode::Output) -> textmode::Result<()> {
tm.move_to(5, 5);
tm.write_str("foo");
smol::Timer::after(std::time::Duration::from_secs(2)).await;