aboutsummaryrefslogtreecommitdiff
path: root/alacritty/src
diff options
context:
space:
mode:
Diffstat (limited to 'alacritty/src')
-rw-r--r--alacritty/src/string.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/alacritty/src/string.rs b/alacritty/src/string.rs
index e41b0785..a7af4394 100644
--- a/alacritty/src/string.rs
+++ b/alacritty/src/string.rs
@@ -51,6 +51,7 @@ impl<'a> StrShortener<'a> {
if direction == ShortenDirection::Right {
return Self {
+ #[allow(clippy::iter_skip_zero)]
chars: text.chars().skip(0),
accumulated_len: 0,
text_action: TextAction::Char,