Skip to content

Commit 033ba91

Browse files
committed
Fix pattern syntax for rustc 1.45
1 parent 34f4fbe commit 033ba91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

url/src/host.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ impl Host<String> {
9090
}
9191

9292
let is_invalid_domain_char = |c| {
93-
matches!(c, |'\0'..='\u{001F}'| ' '
93+
matches!(c, '\0'..='\u{001F}'| ' '
9494
| '#'
9595
| '%'
9696
| '/'

0 commit comments

Comments
 (0)