From 4fc328e1dfb79a2cba14f603a5dd175d6029f30f Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 9 Mar 2021 02:50:22 -0500 Subject: add an error type --- examples/async.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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; -- cgit v1.2.3-54-g00ecf