summaryrefslogtreecommitdiffstats
path: root/vendor/elliptic-curve/src/dev.rs
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:26:03 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-19 09:26:03 +0000
commit9918693037dce8aa4bb6f08741b6812923486c18 (patch)
tree21d2b40bec7e6a7ea664acee056eb3d08e15a1cf /vendor/elliptic-curve/src/dev.rs
parentReleasing progress-linux version 1.75.0+dfsg1-5~progress7.99u1. (diff)
downloadrustc-9918693037dce8aa4bb6f08741b6812923486c18.tar.xz
rustc-9918693037dce8aa4bb6f08741b6812923486c18.zip
Merging upstream version 1.76.0+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/elliptic-curve/src/dev.rs')
-rw-r--r--vendor/elliptic-curve/src/dev.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/vendor/elliptic-curve/src/dev.rs b/vendor/elliptic-curve/src/dev.rs
index 36c684ad4..a2659f1b8 100644
--- a/vendor/elliptic-curve/src/dev.rs
+++ b/vendor/elliptic-curve/src/dev.rs
@@ -335,7 +335,6 @@ impl Invert for Scalar {
impl Reduce<U256> for Scalar {
type Bytes = FieldBytes;
- #[allow(clippy::integer_arithmetic)]
fn reduce(w: U256) -> Self {
let (r, underflow) = w.sbb(&MockCurve::ORDER, Limb::ZERO);
let underflow = Choice::from((underflow.0 >> (Limb::BITS - 1)) as u8);