clippy: remove unneeded return statement (needless_return).
This commit is contained in:
parent
9e6dd81ad9
commit
ffac0f5840
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue