From eb7a1ea803ba54d3b8cd6af49255eb8fbe0d7544 Mon Sep 17 00:00:00 2001 From: Christian Duerr Date: Sun, 17 Mar 2019 21:09:27 +0000 Subject: Remove InclusiveRange code This removes all inclusive range code since it has been recently stabilized in the standard lib. --- src/term/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/term/mod.rs') 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; -- cgit