Skip to content

Commit

Permalink
Fix pattern syntax for rustc 1.45
Browse files Browse the repository at this point in the history
  • Loading branch information
notriddle committed Feb 16, 2022
1 parent 34f4fbe commit 033ba91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion url/src/host.rs
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ impl Host<String> {
}

let is_invalid_domain_char = |c| {
matches!(c, |'\0'..='\u{001F}'| ' '
matches!(c, '\0'..='\u{001F}'| ' '
| '#'
| '%'
| '/'
Expand Down

0 comments on commit 033ba91

Please sign in to comment.