diff options
author | Matthias Krüger <matthias.krueger@famsik.de> | 2017-11-30 00:38:29 +0100 |
---|---|---|
committer | Joe Wilm <jwilm@users.noreply.github.com> | 2017-12-03 12:50:40 -0800 |
commit | d552d28418ef192724b2b4353863708f31f325d4 (patch) | |
tree | 75c3946cc57180df816036cc22deca72fdf2afee /src/display.rs | |
parent | ed6595543b4034cb295761e1a6fb2c49762d554f (diff) | |
download | alacritty-d552d28418ef192724b2b4353863708f31f325d4.tar.gz alacritty-d552d28418ef192724b2b4353863708f31f325d4.zip |
clippy: do and don't pass some things by reference as suggested (needless_pass_by_value, needless_borrow).
Diffstat (limited to 'src/display.rs')
-rw-r--r-- | src/display.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/display.rs b/src/display.rs index 52d0c972..14c5a66d 100644 --- a/src/display.rs +++ b/src/display.rs @@ -147,7 +147,7 @@ impl Display { info!("device_pixel_ratio: {}", dpr); // Create renderer - let mut renderer = QuadRenderer::new(&config, viewport_size)?; + let mut renderer = QuadRenderer::new(config, viewport_size)?; let (glyph_cache, cell_width, cell_height) = Self::new_glyph_cache(&window, &mut renderer, config, 0)?; |