diff options
author | Christian Duerr <contact@christianduerr.com> | 2021-07-03 03:06:52 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-03 03:06:52 +0000 |
commit | 4dd70ba3a155d1eebe38bcd5a5c4c03ca09f2fea (patch) | |
tree | 5fd25b77c2d46279cf3e23b699d47e06f02d43e4 /alacritty/src/renderer/rects.rs | |
parent | b0bc2a2440287268ca47ecf618c73766db9a2586 (diff) | |
download | r-alacritty-4dd70ba3a155d1eebe38bcd5a5c4c03ca09f2fea.tar.gz r-alacritty-4dd70ba3a155d1eebe38bcd5a5c4c03ca09f2fea.tar.bz2 r-alacritty-4dd70ba3a155d1eebe38bcd5a5c4c03ca09f2fea.zip |
Fix clippy warnings
Diffstat (limited to 'alacritty/src/renderer/rects.rs')
-rw-r--r-- | alacritty/src/renderer/rects.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alacritty/src/renderer/rects.rs b/alacritty/src/renderer/rects.rs index 591c9f46..77c22011 100644 --- a/alacritty/src/renderer/rects.rs +++ b/alacritty/src/renderer/rects.rs @@ -158,9 +158,9 @@ impl RenderLines { /// Update the stored lines with the next cell info. #[inline] pub fn update(&mut self, cell: &RenderableCell) { - self.update_flag(&cell, Flags::UNDERLINE); - self.update_flag(&cell, Flags::DOUBLE_UNDERLINE); - self.update_flag(&cell, Flags::STRIKEOUT); + self.update_flag(cell, Flags::UNDERLINE); + self.update_flag(cell, Flags::DOUBLE_UNDERLINE); + self.update_flag(cell, Flags::STRIKEOUT); } /// Update the lines for a specific flag. |