feat: finite fields #1148
Annotations
9 warnings
[clippy] lib/crypto/src/bits.rs#L3:
lib/crypto/src/bits.rs#L3
warning: unused imports: `Num` and `ToPrimitive`
--> lib/crypto/src/bits.rs:3:18
|
3 | use num_traits::{Num, ToPrimitive};
| ^^^ ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
[clippy] lib/crypto/src/field/fp.rs#L32:
lib/crypto/src/field/fp.rs#L32
warning: unused import: `ToPrimitive`
--> lib/crypto/src/field/fp.rs:32:23
|
32 | use num_traits::{One, ToPrimitive, Zero};
| ^^^^^^^^^^^
|
[clippy] lib/crypto/src/field/fp.rs#L522:
lib/crypto/src/field/fp.rs#L522
warning: the following explicit lifetimes could be elided: 'b
--> lib/crypto/src/field/fp.rs:522:6
|
522 | impl<'b, P: FpParams<LIMBS>, const LIMBS: usize>
| ^^
523 | core::ops::Sub<&'b Fp<P, LIMBS>> for &Fp<P, LIMBS>
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `-W clippy::needless-lifetimes` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
|
522 ~ impl<P: FpParams<LIMBS>, const LIMBS: usize>
523 ~ core::ops::Sub<&Fp<P, LIMBS>> for &Fp<P, LIMBS>
|
|
[clippy] lib/crypto/src/field/fp.rs#L536:
lib/crypto/src/field/fp.rs#L536
warning: the following explicit lifetimes could be elided: 'b
--> lib/crypto/src/field/fp.rs:536:6
|
536 | impl<'b, P: FpParams<LIMBS>, const LIMBS: usize>
| ^^
537 | core::ops::Mul<&'b Fp<P, LIMBS>> for &Fp<P, LIMBS>
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
536 ~ impl<P: FpParams<LIMBS>, const LIMBS: usize>
537 ~ core::ops::Mul<&Fp<P, LIMBS>> for &Fp<P, LIMBS>
|
|
[clippy] lib/crypto/src/field/fp.rs#L550:
lib/crypto/src/field/fp.rs#L550
warning: the following explicit lifetimes could be elided: 'b
--> lib/crypto/src/field/fp.rs:550:6
|
550 | impl<'b, P: FpParams<LIMBS>, const LIMBS: usize>
| ^^
551 | core::ops::Div<&'b Fp<P, LIMBS>> for &Fp<P, LIMBS>
| ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
help: elide the lifetimes
|
550 ~ impl<P: FpParams<LIMBS>, const LIMBS: usize>
551 ~ core::ops::Div<&Fp<P, LIMBS>> for &Fp<P, LIMBS>
|
|
[clippy] lib/crypto/src/bits.rs#L3:
lib/crypto/src/bits.rs#L3
warning: unused imports: `Num` and `ToPrimitive`
--> lib/crypto/src/bits.rs:3:18
|
3 | use num_traits::{Num, ToPrimitive};
| ^^^ ^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
[clippy] lib/crypto/src/field/fp.rs#L32:
lib/crypto/src/field/fp.rs#L32
warning: unused import: `ToPrimitive`
--> lib/crypto/src/field/fp.rs:32:23
|
32 | use num_traits::{One, ToPrimitive, Zero};
| ^^^^^^^^^^^
|
tests:
lib/crypto/src/bits.rs#L3
unused imports: `Num` and `ToPrimitive`
|
tests:
lib/crypto/src/field/fp.rs#L32
unused import: `ToPrimitive`
|