From 7c06da9c0f3402efbc3954e9f14b1d039fd38929 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Fri, 12 Mar 2021 12:20:06 -0500 Subject: move the guards back onto the main objects --- examples/basic.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/basic.rs') diff --git a/examples/basic.rs b/examples/basic.rs index f3f846d..fb13d89 100644 --- a/examples/basic.rs +++ b/examples/basic.rs @@ -1,7 +1,7 @@ use textmode::Textmode as _; fn main() { - let (mut tm, _guard) = textmode::blocking::Output::new().unwrap(); + let mut tm = textmode::blocking::Output::new().unwrap(); tm.move_to(5, 5); tm.write_str("foo"); -- cgit v1.2.3-54-g00ecf