We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d259ec commit 2a6c425Copy full SHA for 2a6c425
src/lib.rs
@@ -197,7 +197,7 @@ macro_rules! cascade {
197
(@year year) => {};
198
199
// Cascade an out-of-bounds value from "from" to "to".
200
- ($(!$from_not_mut:ident)? $from:ident in $min:literal.. $max:literal => $to:tt) => {
+ ($from:ident in $min:literal.. $max:literal => $to:tt) => {
201
#[allow(unused_comparisons, unused_assignments)]
202
if $from >= $max {
203
$from -= $max - $min;
0 commit comments