Skip to content

Commit a83fa52

Browse files
fixed unused variables issue in unchecked_div's precondition macro
1 parent 84734b1 commit a83fa52

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

library/core/src/num/uint_macros.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1048,7 +1048,6 @@ macro_rules! uint_impl {
10481048
check_language_ub,
10491049
concat!(stringify!($SelfT), "::unchecked_div cannot accept rhs as zero"),
10501050
(
1051-
lhs: $SelfT = self,
10521051
rhs: $SelfT = rhs
10531052
) => !(rhs == 0),
10541053
);

0 commit comments

Comments
 (0)