浏览代码

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)]`.
Josh Stone 7 年之前
父节点
当前提交
7679cb86fb
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      bigint/src/algorithms.rs

+ 0 - 1
bigint/src/algorithms.rs

@@ -123,7 +123,6 @@ pub fn div_rem_digit(mut a: BigUint, b: BigDigit) -> (BigUint, BigDigit) {
 }
 
 // Only for the Add impl:
-#[must_use]
 #[inline]
 pub fn __add2(a: &mut [BigDigit], b: &[BigDigit]) -> BigDigit {
     debug_assert!(a.len() >= b.len());