summaryrefslogtreecommitdiffstats
path: root/src/term
diff options
context:
space:
mode:
authorChristian Duerr <chrisduerr@users.noreply.github.com>2019-03-17 21:09:27 +0000
committerGitHub <noreply@github.com>2019-03-17 21:09:27 +0000
commiteb7a1ea803ba54d3b8cd6af49255eb8fbe0d7544 (patch)
tree65ffaa1ca93fd14bd47bcadb731b671b62bed0fc /src/term
parentfc28e49c277f777dbced6cbfeccb106c04486f15 (diff)
Remove InclusiveRange code
This removes all inclusive range code since it has been recently stabilized in the standard lib.
Diffstat (limited to 'src/term')
-rw-r--r--src/term/mod.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/term/mod.rs b/src/term/mod.rs
index f2c0b18b..fd31cd5e 100644
--- a/src/term/mod.rs
+++ b/src/term/mod.rs
@@ -13,7 +13,7 @@
// limitations under the License.
//
//! Exports the `Term` type which is a high-level API for the Grid
-use std::ops::{Range, Index, IndexMut};
+use std::ops::{Range, Index, IndexMut, RangeInclusive};
use std::{ptr, io, mem};
use std::cmp::{min, max};
use std::time::{Duration, Instant};
@@ -27,7 +27,7 @@ use crate::grid::{
BidirectionalIterator, DisplayIter, Grid, GridCell, IndexRegion, Indexed, Scroll,
ViewportPosition,
};
-use crate::index::{self, Point, Column, Line, IndexRange, Contains, RangeInclusive, Linear};
+use crate::index::{self, Point, Column, Line, IndexRange, Contains, Linear};
use crate::selection::{self, Selection, Locations};
use crate::config::{Config, VisualBellAnimation};
use crate::MouseCursor;