diff options
author | Manish Goregaokar <manishsmail@gmail.com> | 2017-01-06 16:26:31 -0800 |
---|---|---|
committer | Manish Goregaokar <manishsmail@gmail.com> | 2017-01-06 20:28:17 -0800 |
commit | fbeded8ac543613b89af2ed7fd856e978493cde4 (patch) | |
tree | 64d761480a43f6935aad4e0d9171674cc9c0c868 /src/renderer | |
parent | c579d079939b5d4ee3127579de732f037e612c28 (diff) | |
download | alacritty-fbeded8ac543613b89af2ed7fd856e978493cde4.tar.gz alacritty-fbeded8ac543613b89af2ed7fd856e978493cde4.zip |
Remove need for inclusive ranges
Diffstat (limited to 'src/renderer')
-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 10d3d838..a70b1ca3 100644 --- a/src/renderer/mod.rs +++ b/src/renderer/mod.rs @@ -24,7 +24,7 @@ use font::{self, Rasterizer, Rasterize, RasterizedGlyph, FontDesc, GlyphKey, Fon use gl::types::*; use gl; use notify::{Watcher as WatcherApi, RecommendedWatcher as Watcher, op}; -use index::{Line, Column}; +use index::{Line, Column, RangeInclusive}; use window::{Size, Pixels}; @@ -225,7 +225,7 @@ impl GlyphCache { macro_rules! load_glyphs_for_font { ($font:expr) => { - for i in 32u8...128u8 { + for i in RangeInclusive::new(32u8, 128u8) { cache.load_and_cache_glyph(GlyphKey { font_key: $font, c: i as char, |