Skip to content

Commit 1df4907

Browse files
committed
.. ranges no longer compile
Ranges must use the `...` syntax as of [rust PR #17584](rust-lang/rust#17584)
1 parent c304106 commit 1df4907

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ impl Uuid {
381381
// Make sure all chars are either hex digits or hyphen
382382
for (i, c) in us.chars().enumerate() {
383383
match c {
384-
'0'..'9' | 'A'..'F' | 'a'..'f' | '-' => {},
384+
'0'...'9' | 'A'...'F' | 'a'...'f' | '-' => {},
385385
_ => return Err(ErrorInvalidCharacter(c, i)),
386386
}
387387
}

0 commit comments

Comments
 (0)