Commit cf93686
Specify that range patterns must be nonempty.
This changes the reference to match the behavior of the compiler, based on my empirical testing.
See also rust-lang/rust#1491651 parent 93f3388 commit cf93686
1 file changed
+6
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
557 | | - | |
558 | | - | |
559 | | - | |
560 | | - | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
561 | 563 | | |
562 | 564 | | |
563 | 565 | | |
| |||
0 commit comments