diff options
author | Jesse Luehrs <doy@tozt.net> | 2021-03-12 12:20:06 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2021-03-12 12:20:06 -0500 |
commit | 7c06da9c0f3402efbc3954e9f14b1d039fd38929 (patch) | |
tree | 57d06edf5b1dd15b51c3bb771845ce215b698a53 /examples/basic.rs | |
parent | f3498d0afe3bd36cf3e9f553776518fd458a39af (diff) | |
download | textmode-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.rs | 2 |
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"); |