aboutsummaryrefslogtreecommitdiff
path: root/src/display.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/display.rs')
-rw-r--r--src/display.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display.rs b/src/display.rs
index 862be468..52d0c972 100644
--- a/src/display.rs
+++ b/src/display.rs
@@ -242,7 +242,7 @@ impl Display {
let cell_width = (metrics.average_advance + font.offset().x as f64) as u32;
let cell_height = (metrics.line_height + font.offset().y as f64) as u32;
- return Ok((glyph_cache, cell_width as f32, cell_height as f32));
+ Ok((glyph_cache, cell_width as f32, cell_height as f32))
}
pub fn update_glyph_cache(&mut self, config: &Config, font_size_delta: i8) {