Skip to content

Commit 7679cb8

Browse files
committed
Remove #[must_use] on __add2
It doesn't actually work on functions yet, and nightly now warns that it is experimental, behind `#[feature(fn_must_use)]`.
1 parent 4896746 commit 7679cb8

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

bigint/src/algorithms.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ pub fn div_rem_digit(mut a: BigUint, b: BigDigit) -> (BigUint, BigDigit) {
123123
}
124124

125125
// Only for the Add impl:
126-
#[must_use]
127126
#[inline]
128127
pub fn __add2(a: &mut [BigDigit], b: &[BigDigit]) -> BigDigit {
129128
debug_assert!(a.len() >= b.len());

0 commit comments

Comments
 (0)