Skip to content

Commit 2a6c425

Browse files
committed
Remove unused feature in macro
1 parent 4d259ec commit 2a6c425

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
@@ -197,7 +197,7 @@ macro_rules! cascade {
197197
(@year year) => {};
198198

199199
// Cascade an out-of-bounds value from "from" to "to".
200-
($(!$from_not_mut:ident)? $from:ident in $min:literal.. $max:literal => $to:tt) => {
200+
($from:ident in $min:literal.. $max:literal => $to:tt) => {
201201
#[allow(unused_comparisons, unused_assignments)]
202202
if $from >= $max {
203203
$from -= $max - $min;

0 commit comments

Comments
 (0)