diff options
author | Kirill Chibisov <contact@kchibisov.com> | 2024-07-17 05:07:32 +0300 |
---|---|---|
committer | Kirill Chibisov <contact@kchibisov.com> | 2024-07-17 11:02:31 +0300 |
commit | 3504246c3f57769ca0528fe397e866a13c49f039 (patch) | |
tree | 840932a9efb774c472de0118ebb7a293c5cf9727 /alacritty | |
parent | b3f0f68184b0d6b6221a5955acfcc4e33c01b766 (diff) | |
download | r-alacritty-3504246c3f57769ca0528fe397e866a13c49f039.tar.gz r-alacritty-3504246c3f57769ca0528fe397e866a13c49f039.tar.bz2 r-alacritty-3504246c3f57769ca0528fe397e866a13c49f039.zip |
Bump MSRV to 1.74.0
Diffstat (limited to 'alacritty')
-rw-r--r-- | alacritty/Cargo.toml | 2 | ||||
-rw-r--r-- | alacritty/src/string.rs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/alacritty/Cargo.toml b/alacritty/Cargo.toml index a2fd0433..1bc8f0fe 100644 --- a/alacritty/Cargo.toml +++ b/alacritty/Cargo.toml @@ -8,7 +8,7 @@ readme = "README.md" homepage = "https://alacritty.org" repository = "https://github.com/alacritty/alacritty" edition = "2021" -rust-version = "1.70.0" +rust-version = "1.74.0" [dependencies.alacritty_terminal] path = "../alacritty_terminal" 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, |