summaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/url.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2019-06-09 19:52:48 +0200
committerChristian Duerr <chrisduerr@users.noreply.github.com>2019-06-09 17:52:48 +0000
commitf59aa19892724f41e3a56817fb69e95413312920 (patch)
treed018bc4855b0650d5ad5fd2b43c8949488df9099 /alacritty_terminal/src/url.rs
parent55d346c7d44215c51187cafcac79e3504209f942 (diff)
downloadalacritty-f59aa19892724f41e3a56817fb69e95413312920.tar.gz
alacritty-f59aa19892724f41e3a56817fb69e95413312920.zip
Fix compiler warnings
Diffstat (limited to 'alacritty_terminal/src/url.rs')
-rw-r--r--alacritty_terminal/src/url.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alacritty_terminal/src/url.rs b/alacritty_terminal/src/url.rs
index b10f2421..c3c70267 100644
--- a/alacritty_terminal/src/url.rs
+++ b/alacritty_terminal/src/url.rs
@@ -73,7 +73,7 @@ impl UrlParser {
self.state.char_indices().rev().skip_while(|(byte_index, _)| *byte_index >= index);
for (byte_index, c) in iter {
match c {
- 'a'...'z' | 'A'...'Z' => (),
+ 'a'..='z' | 'A'..='Z' => (),
_ => {
self.origin =
self.origin.saturating_sub(byte_index + c.width().unwrap_or(1));