diff options
author | Christian Duerr <chrisduerr@users.noreply.github.com> | 2019-03-17 21:09:27 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-17 21:09:27 +0000 |
commit | eb7a1ea803ba54d3b8cd6af49255eb8fbe0d7544 (patch) | |
tree | 65ffaa1ca93fd14bd47bcadb731b671b62bed0fc /src/renderer/mod.rs | |
parent | fc28e49c277f777dbced6cbfeccb106c04486f15 (diff) | |
download | alacritty-eb7a1ea803ba54d3b8cd6af49255eb8fbe0d7544.tar.gz alacritty-eb7a1ea803ba54d3b8cd6af49255eb8fbe0d7544.zip |
Remove InclusiveRange code
This removes all inclusive range code since it has been recently
stabilized in the standard lib.
Diffstat (limited to 'src/renderer/mod.rs')
-rw-r--r-- | src/renderer/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/renderer/mod.rs b/src/renderer/mod.rs index 9a33410f..6258ba60 100644 --- a/src/renderer/mod.rs +++ b/src/renderer/mod.rs @@ -28,7 +28,7 @@ use notify::{watcher, DebouncedEvent, RecursiveMode, Watcher}; use crate::gl::types::*; use crate::gl; -use crate::index::{Column, Line, RangeInclusive}; +use crate::index::{Column, Line}; use crate::term::color::Rgb; use crate::config::{self, Config, Delta}; use crate::term::{self, cell, RenderableCell}; @@ -213,7 +213,7 @@ impl GlyphCache { fn load_glyphs_for_font<L: LoadGlyph>(&mut self, font: FontKey, loader: &mut L) { let size = self.font_size; - for i in RangeInclusive::new(32u8, 128u8) { + for i in 32u8..=128u8 { self.get(GlyphKey { font_key: font, c: i as char, |