From 90cbd4b873a2840385bcbc64e199604bcbaead4c Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 16 Nov 2021 04:26:52 -0500 Subject: edition 2021 --- Cargo.toml | 2 +- src/grid.rs | 1 - src/row.rs | 1 - src/screen.rs | 1 - tests/helpers/mod.rs | 2 -- 5 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 36b246c..e747d13 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ name = "vt100" version = "0.12.0" authors = ["Jesse Luehrs "] -edition = "2018" +edition = "2021" description = "Library for parsing terminal data" homepage = "https://github.com/doy/vt100-rust" diff --git a/src/grid.rs b/src/grid.rs index aaf79d5..f5d75b3 100644 --- a/src/grid.rs +++ b/src/grid.rs @@ -1,5 +1,4 @@ use crate::term::BufWrite as _; -use std::convert::TryInto as _; #[derive(Clone, Debug)] pub struct Grid { diff --git a/src/row.rs b/src/row.rs index b7ae2c4..d828a73 100644 --- a/src/row.rs +++ b/src/row.rs @@ -1,5 +1,4 @@ use crate::term::BufWrite as _; -use std::convert::TryInto as _; #[derive(Clone, Debug)] pub struct Row { diff --git a/src/screen.rs b/src/screen.rs index c41184c..e3581b9 100644 --- a/src/screen.rs +++ b/src/screen.rs @@ -1,5 +1,4 @@ use crate::term::BufWrite as _; -use std::convert::TryInto as _; use unicode_width::UnicodeWidthChar as _; const MODE_APPLICATION_KEYPAD: u8 = 0b0000_0001; diff --git a/tests/helpers/mod.rs b/tests/helpers/mod.rs index 17f9a60..20de2d4 100644 --- a/tests/helpers/mod.rs +++ b/tests/helpers/mod.rs @@ -1,5 +1,3 @@ -use std::convert::TryInto as _; - mod fixtures; pub use fixtures::fixture; pub use fixtures::FixtureScreen; -- cgit v1.2.3-54-g00ecf