aboutsummaryrefslogtreecommitdiffstats
path: root/examples/basic.rs
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2021-03-12 12:20:06 -0500
committerJesse Luehrs <doy@tozt.net>2021-03-12 12:20:06 -0500
commit7c06da9c0f3402efbc3954e9f14b1d039fd38929 (patch)
tree57d06edf5b1dd15b51c3bb771845ce215b698a53 /examples/basic.rs
parentf3498d0afe3bd36cf3e9f553776518fd458a39af (diff)
downloadtextmode-7c06da9c0f3402efbc3954e9f14b1d039fd38929.tar.gz
textmode-7c06da9c0f3402efbc3954e9f14b1d039fd38929.zip
move the guards back onto the main objects
Diffstat (limited to 'examples/basic.rs')
-rw-r--r--examples/basic.rs2
1 files changed, 1 insertions, 1 deletions
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");