summaryrefslogtreecommitdiff
path: root/alacritty_terminal/src/url.rs
diff options
context:
space:
mode:
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));