190 |
#[inline]
|
191 |
#[allow(clippy::suspicious_op_assign_impl)]
|
192 |
fn add_assign(&mut self, rhs: MillerLoopResult) {
|
68 |
#[allow(clippy::suspicious_op_assign_impl)]
|
69 |
impl<B: Borrow<Poly>> ops::AddAssign<B> for Poly {
|
120 |
impl AddAssign for FileSum {
|
121 |
#[allow(clippy::suspicious_op_assign_impl)]
|
122 |
fn add_assign(&mut self, other: Self) {
|
82 |
} = rhs;
|
83 |
#[allow(clippy::suspicious_op_assign_impl)]
|
84 |
if self.source.is_none() && source.is_some() {
|
190 |
impl AddAssign for Octet {
|
191 |
#[allow(clippy::suspicious_arithmetic_impl, clippy::suspicious_op_assign_impl)]
|
192 |
fn add_assign(&mut self, other: Octet) {
|
197 |
impl<'a> AddAssign<&'a Octet> for Octet {
|
198 |
#[allow(clippy::suspicious_arithmetic_impl, clippy::suspicious_op_assign_impl)]
|
199 |
fn add_assign(&mut self, other: &'a Octet) {
|
128 |
fn add_assign(&mut self, rhs: StdResult<Self, Attribute>) {
|
129 |
#[allow(clippy::suspicious_op_assign_impl)]
|
130 |
match rhs {
|
195 |
// pad or truncate
|
196 |
#[allow(clippy::suspicious_op_assign_impl)]
|
197 |
data.resize((rhs.addr - self.addr) as usize, 0);
|
190 |
impl AddAssign for Octet {
|
191 |
#[allow(clippy::suspicious_arithmetic_impl, clippy::suspicious_op_assign_impl)]
|
192 |
fn add_assign(&mut self, other: Octet) {
|
197 |
impl<'a> AddAssign<&'a Octet> for Octet {
|
198 |
#[allow(clippy::suspicious_arithmetic_impl, clippy::suspicious_op_assign_impl)]
|
199 |
fn add_assign(&mut self, other: &'a Octet) {
|
116 |
#[allow(clippy::suspicious_op_assign_impl)]
|
117 |
impl<'l, C: CS> BitAndAssign<&'l CBool<C>> for CBool<C> {
|
18 |
impl AddAssign for TerminationResult {
|
19 |
#[allow(clippy::suspicious_op_assign_impl)]
|
20 |
fn add_assign(&mut self, rhs: Self) {
|
16 |
impl AddAssign for TerminationResult {
|
17 |
#[allow(clippy::suspicious_op_assign_impl)]
|
18 |
fn add_assign(&mut self, rhs: Self) {
|
226 |
#[inline]
|
227 |
#[allow(clippy::suspicious_op_assign_impl)]
|
228 |
fn mul_assign(&mut self, rhs: &Bigfloat) {
|
104 |
#[allow(clippy::suspicious_op_assign_impl)]
|
105 |
impl AddAssign for GF256 {
|
121 |
#[allow(clippy::suspicious_op_assign_impl)]
|
122 |
impl SubAssign for GF256 {
|
138 |
#[allow(clippy::suspicious_op_assign_impl)]
|
139 |
impl MulAssign for GF256 {
|
193 |
#[inline(always)]
|
194 |
#[allow(clippy::suspicious_op_assign_impl)]
|
195 |
fn shl_assign(&mut self, rhs: T) {
|
234 |
#[inline(always)]
|
235 |
#[allow(clippy::suspicious_op_assign_impl)]
|
236 |
fn shr_assign(&mut self, rhs: T) {
|
47 |
impl<'a> std::ops::AddAssign for Fragment<'a> {
|
48 |
#[allow(clippy::suspicious_op_assign_impl)]
|
49 |
fn add_assign(&mut self, other: Self) {
|
74 |
// the following line causes clippy to emit a spurious warning (using - in an AddAssign-implementation)
|
75 |
#[allow(clippy::suspicious_op_assign_impl)]
|
76 |
let num_add = rhs.rev_coeffs.len() - self.rev_coeffs.len();
|
73 |
// the following line causes clippy to emit a spurious warning (using - in an SubAssign-implementation)
|
74 |
#[allow(clippy::suspicious_op_assign_impl)]
|
75 |
let num_add = rhs.rev_coeffs.len() - self.rev_coeffs.len();
|
185 |
impl MulAssign for SIUnit {
|
186 |
#[allow(clippy::suspicious_op_assign_impl)]
|
187 |
fn mul_assign(&mut self, rhs: Self) {
|
198 |
impl DivAssign for SIUnit {
|
199 |
#[allow(clippy::suspicious_op_assign_impl)]
|
200 |
fn div_assign(&mut self, rhs: Self) {
|
190 |
impl AddAssign for Octet {
|
191 |
#[allow(clippy::suspicious_arithmetic_impl, clippy::suspicious_op_assign_impl)]
|
192 |
fn add_assign(&mut self, other: Octet) {
|
197 |
impl<'a> AddAssign<&'a Octet> for Octet {
|
198 |
#[allow(clippy::suspicious_arithmetic_impl, clippy::suspicious_op_assign_impl)]
|
199 |
fn add_assign(&mut self, other: &'a Octet) {
|
315 |
impl BitAndAssign<&Self> for ArrayStore {
|
316 |
#[allow(clippy::suspicious_op_assign_impl)]
|
317 |
fn bitand_assign(&mut self, rhs: &Self) {
|
354 |
impl SubAssign<&Self> for ArrayStore {
|
355 |
#[allow(clippy::suspicious_op_assign_impl)]
|
356 |
fn sub_assign(&mut self, rhs: &Self) {
|
454 |
impl SubAssign<&Self> for BitmapStore {
|
455 |
#[allow(clippy::suspicious_op_assign_impl)]
|
456 |
fn sub_assign(&mut self, rhs: &Self) {
|
461 |
impl SubAssign<&ArrayStore> for BitmapStore {
|
462 |
#[allow(clippy::suspicious_op_assign_impl)]
|
463 |
fn sub_assign(&mut self, rhs: &ArrayStore) {
|
281 |
impl BitAndAssign<Store> for Store {
|
282 |
#[allow(clippy::suspicious_op_assign_impl)]
|
283 |
fn bitand_assign(&mut self, mut rhs: Store) {
|
305 |
impl BitAndAssign<&Store> for Store {
|
306 |
#[allow(clippy::suspicious_op_assign_impl)]
|
307 |
fn bitand_assign(&mut self, rhs: &Store) {
|
5660 |
for i in src.values {
|
5661 |
#[allow(clippy::suspicious_op_assign_impl)]
|
5662 |
AddAssign::add_assign(self, i.0 * i.1);
|
5697 |
for i in src.values {
|
5698 |
#[allow(clippy::suspicious_op_assign_impl)]
|
5699 |
SubAssign::sub_assign(self, i.0 * i.1);
|
2610 |
for i in src.values {
|
2611 |
#[allow(clippy::suspicious_op_assign_impl)]
|
2612 |
mul.assign(i.0 * i.1);
|
2649 |
for i in src.values {
|
2650 |
#[allow(clippy::suspicious_op_assign_impl)]
|
2651 |
mul.assign(i.0 * i.1);
|
312 |
#[allow(clippy::suspicious_op_assign_impl)]
|
313 |
impl std::ops::ShrAssign<usize> for Bitvec {
|
347 |
#[allow(clippy::suspicious_op_assign_impl)]
|
348 |
impl std::ops::ShlAssign<usize> for Bitvec {
|
255 |
impl<'a, F: Field> AddAssign<(F, &'a DensePolynomial<F>)> for DensePolynomial<F> {
|
256 |
#[allow(clippy::suspicious_op_assign_impl)]
|
257 |
fn add_assign(&mut self, (f, other): (F, &'a DensePolynomial<F>)) {
|
677 |
impl<'a, F: Field> AddAssign<(F, &'a LinearCombination<F>)> for LinearCombination<F> {
|
678 |
#[allow(clippy::suspicious_op_assign_impl)]
|
679 |
fn add_assign(&mut self, (coeff, other): (F, &'a LinearCombination<F>)) {
|
686 |
impl<'a, F: Field> SubAssign<(F, &'a LinearCombination<F>)> for LinearCombination<F> {
|
687 |
#[allow(clippy::suspicious_op_assign_impl)]
|
688 |
fn sub_assign(&mut self, (coeff, other): (F, &'a LinearCombination<F>)) {
|
64 |
#[allow(clippy::suspicious_op_assign_impl)]
|
65 |
impl<E: Environment> BitOrAssign<&Boolean<E>> for Boolean<E> {
|
59 |
impl<E: Environment> DivAssign<&Self> for Field<E> {
|
60 |
#[allow(clippy::suspicious_op_assign_impl)]
|
61 |
fn div_assign(&mut self, other: &Self) {
|
169 |
impl<E: Environment> MulAssign<&[Boolean<E>]> for Group<E> {
|
170 |
#[allow(clippy::suspicious_op_assign_impl)]
|
171 |
fn mul_assign(&mut self, other: &[Boolean<E>]) {
|
419 |
#[allow(clippy::many_single_char_names)]
|
420 |
#[allow(clippy::suspicious_op_assign_impl)]
|
421 |
fn add_assign(&mut self, other: &'a Self) {
|
306 |
#[allow(clippy::many_single_char_names)]
|
307 |
#[allow(clippy::suspicious_op_assign_impl)]
|
308 |
fn add_assign(&mut self, other: &'a Self) {
|
416 |
#[inline]
|
417 |
#[allow(clippy::suspicious_op_assign_impl)]
|
418 |
fn mul_assign(&mut self, other: &Self) {
|
409 |
#[inline]
|
410 |
#[allow(clippy::suspicious_op_assign_impl)]
|
411 |
fn mul_assign(&mut self, other: &Self) {
|
432 |
#[inline]
|
433 |
#[allow(clippy::suspicious_op_assign_impl)]
|
434 |
fn mul_assign(&mut self, other: &Self) {
|
402 |
#[inline]
|
403 |
#[allow(clippy::suspicious_op_assign_impl)]
|
404 |
fn mul_assign(&mut self, other: &Self) {
|
455 |
#[allow(clippy::many_single_char_names)]
|
456 |
#[allow(clippy::suspicious_op_assign_impl)]
|
457 |
fn mul_assign(&mut self, other: &Self) {
|
456 |
#[inline]
|
457 |
#[allow(clippy::suspicious_op_assign_impl)]
|
458 |
fn mul_assign(&mut self, other: &Self) {
|
323 |
impl<'a, F: Field> AddAssign<(F, &'a LinearCombination<F>)> for LinearCombination<F> {
|
324 |
#[allow(clippy::suspicious_op_assign_impl)]
|
325 |
fn add_assign(&mut self, (coeff, other): (F, &'a LinearCombination<F>)) {
|
331 |
impl<'a, F: Field> SubAssign<(F, &'a LinearCombination<F>)> for LinearCombination<F> {
|
332 |
#[allow(clippy::suspicious_op_assign_impl)]
|
333 |
fn sub_assign(&mut self, (coeff, other): (F, &'a LinearCombination<F>)) {
|
108 |
#[inline]
|
109 |
#[allow(clippy::suspicious_op_assign_impl)]
|
110 |
fn add_assign(&mut self, rhs: Self) {
|
116 |
#[inline]
|
117 |
#[allow(clippy::suspicious_op_assign_impl)]
|
118 |
fn sub_assign(&mut self, rhs: Self) {
|
67 |
#[allow(clippy::suspicious_op_assign_impl)]
|
68 |
impl<B: Borrow<Poly>> ops::AddAssign<B> for Poly {
|
60 |
#[allow(clippy::suspicious_op_assign_impl)]
|
61 |
impl<B: Borrow<Poly>> ops::AddAssign<B> for Poly {
|
60 |
#[allow(clippy::suspicious_op_assign_impl)]
|
61 |
impl<B: Borrow<Poly>> ops::AddAssign<B> for Poly {
|
549 |
#[allow(clippy::suspicious_op_assign_impl)]
|
550 |
impl<'a> ops::SubAssign<&'a TDim> for TDim {
|
258 |
#[allow(clippy::suspicious_op_assign_impl)]
|
259 |
impl MulAssign for PointOp {
|
238 |
{
|
239 |
#[allow(clippy::suspicious_op_assign_impl)]
|
240 |
#[inline]
|
256 |
{
|
257 |
#[allow(clippy::suspicious_op_assign_impl)]
|
258 |
#[inline]
|
138 |
// We need multiplications to implement addition
|
139 |
#[allow(clippy::suspicious_op_assign_impl)]
|
140 |
fn add_assign(&mut self, rhs: &Self) {
|
178 |
// We need multiplications to implement addition
|
179 |
#[allow(clippy::suspicious_op_assign_impl)]
|
180 |
fn add_assign(&mut self, rhs: &Affine) {
|
141 |
// Division suspiciously requires multiplication
|
142 |
#[allow(clippy::suspicious_op_assign_impl)]
|
143 |
#[inline(always)]
|
150 |
// Division suspiciously requires multiplication
|
151 |
#[allow(clippy::suspicious_op_assign_impl)]
|
152 |
#[inline(always)]
|
178 |
#![warn(clippy::wrong_pub_self_convention)]
|
179 |
#![allow(clippy::suspicious_op_assign_impl)]
|
1035 |
fn add_assign(&mut self, mut rhs: RealAlgebraicNumber) {
|
1036 |
#![allow(clippy::suspicious_op_assign_impl)] // we need to use other operators
|
1037 |
if self.is_rational() && rhs.is_rational() {
|
1269 |
fn mul_assign(&mut self, mut rhs: RealAlgebraicNumber) {
|
1270 |
#![allow(clippy::suspicious_op_assign_impl)] // we need to use other operators
|
1271 |
if self.is_rational() && rhs.is_rational() {
|
1013 |
fn add_assign(&mut self, rhs: &BigInt) {
|
1014 |
#![allow(clippy::suspicious_op_assign_impl)]
|
1015 |
let rhs = rhs << self.log2_denom;
|
1059 |
fn sub_assign(&mut self, rhs: &BigInt) {
|
1060 |
#![allow(clippy::suspicious_op_assign_impl)]
|
1061 |
let rhs = rhs << self.log2_denom;
|
51 |
clippy::needless_pass_by_value,
|
52 |
clippy::suspicious_op_assign_impl,
|
53 |
clippy::float_cmp,
|
11 |
clippy::op_ref,
|
12 |
clippy::suspicious_op_assign_impl,
|
13 |
clippy::many_single_char_names
|
8 |
)]
|
9 |
#![allow(clippy::op_ref, clippy::suspicious_op_assign_impl)]
|
10 |
#![deny(unsafe_code)]
|
13 |
clippy::many_single_char_names,
|
14 |
clippy::suspicious_op_assign_impl,
|
15 |
clippy::suspicious_arithmetic_impl
|
44 |
#![allow(clippy::suspicious_arithmetic_impl)]
|
45 |
#![allow(clippy::suspicious_op_assign_impl)]
|
46 |
#![allow(clippy::redundant_field_names)]
|
1 |
#![allow(clippy::suspicious_op_assign_impl)]
|
38 |
clippy::suspicious_arithmetic_impl, // Not always valid; issues should be detected by tests or other lints.
|
39 |
clippy::suspicious_op_assign_impl, // Not always valid; issues should be detected by tests or other lints.
|
40 |
unsafe_code, // The nature of this library requires a lot of usages of unsafe code.
|
42 |
// Some structs do not have AddAssign or MulAssign impl.
|
43 |
#![allow(clippy::suspicious_op_assign_impl)]
|
44 |
// Witness have always the same names in respect to wires.
|
1 |
#![allow(
|
2 |
clippy::suspicious_op_assign_impl,
|
3 |
clippy::suspicious_arithmetic_impl,
|
45 |
// Some structs do not have AddAssign or MulAssign impl.
|
46 |
#![allow(clippy::suspicious_op_assign_impl)]
|
47 |
// Witness have always the same names in respect to wires.
|
1 |
#![allow(
|
2 |
clippy::suspicious_op_assign_impl,
|
3 |
clippy::suspicious_arithmetic_impl,
|
7 |
clippy::needless_range_loop,
|
8 |
clippy::suspicious_op_assign_impl,
|
9 |
clippy::too_many_arguments,
|
114 |
clippy::suspicious_arithmetic_impl,
|
115 |
clippy::suspicious_op_assign_impl,
|
116 |
clippy::too_many_arguments,
|
9 |
clippy::suspicious_arithmetic_impl,
|
10 |
clippy::suspicious_op_assign_impl,
|
11 |
clippy::too_many_arguments,
|
66 |
clippy::suspicious_arithmetic_impl,
|
67 |
clippy::suspicious_op_assign_impl,
|
68 |
clippy::too_many_arguments,
|
9 |
clippy::suspicious_arithmetic_impl,
|
10 |
clippy::suspicious_op_assign_impl,
|
11 |
clippy::too_many_arguments,
|
20 |
clippy::op_ref,
|
21 |
clippy::suspicious_op_assign_impl,
|
22 |
clippy::upper_case_acronyms
|
21 |
clippy::op_ref,
|
22 |
clippy::suspicious_op_assign_impl,
|
23 |
clippy::upper_case_acronyms
|
19 |
clippy::op_ref,
|
20 |
clippy::suspicious_op_assign_impl,
|
21 |
clippy::upper_case_acronyms
|
20 |
#![allow(clippy::suspicious_arithmetic_impl)]
|
21 |
#![allow(clippy::suspicious_op_assign_impl)]
|
1 |
#![allow(clippy::suspicious_op_assign_impl, clippy::suspicious_arithmetic_impl)]
|
1 |
#![allow(clippy::suspicious_op_assign_impl, clippy::suspicious_arithmetic_impl)]
|
3 |
clippy::identity_op,
|
4 |
clippy::suspicious_op_assign_impl,
|
5 |
clippy::suspicious_arithmetic_impl
|
3 |
clippy::identity_op,
|
4 |
clippy::suspicious_op_assign_impl,
|
5 |
clippy::suspicious_arithmetic_impl
|
3 |
clippy::identity_op,
|
4 |
clippy::suspicious_op_assign_impl,
|
5 |
clippy::suspicious_arithmetic_impl
|
15 |
clippy::should_implement_trait,
|
16 |
clippy::suspicious_op_assign_impl,
|
17 |
clippy::unused_unit,
|
15 |
clippy::should_implement_trait,
|
16 |
clippy::suspicious_op_assign_impl,
|
17 |
clippy::unused_unit,
|
45 |
// Some structs do not have AddAssign or MulAssign impl.
|
46 |
#![allow(clippy::suspicious_op_assign_impl)]
|
47 |
// Witness have always the same names in respect to wires.
|
45 |
// Some structs do not have AddAssign or MulAssign impl.
|
46 |
#![allow(clippy::suspicious_op_assign_impl)]
|
47 |
// Witness have always the same names in respect to wires.
|
91 |
#![allow(
|
92 |
clippy::suspicious_op_assign_impl,
|
93 |
clippy::suspicious_arithmetic_impl,
|
43 |
#![allow(
|
44 |
clippy::suspicious_op_assign_impl,
|
45 |
clippy::suspicious_arithmetic_impl,
|
1 |
#![allow(clippy::suspicious_op_assign_impl)]
|
2 |
#![allow(clippy::unreadable_literal)]
|
1 |
#![allow(clippy::suspicious_op_assign_impl)]
|
2 |
pub mod ops;
|
105 |
// Jeremy Francis Corbyn, clippy devs need to calm down 🤦♀️
|
106 |
#![allow(clippy::suspicious_op_assign_impl, clippy::suspicious_arithmetic_impl)]
|
105 |
// Jeremy Francis Corbyn, clippy devs need to calm down 🤦♀️
|
106 |
#![allow(clippy::suspicious_op_assign_impl, clippy::suspicious_arithmetic_impl)]
|
45 |
clippy::needless_pass_by_value,
|
46 |
clippy::suspicious_op_assign_impl,
|
47 |
clippy::float_cmp,
|
257 |
clippy::never_loop,
|
258 |
clippy::suspicious_op_assign_impl,
|
259 |
clippy::too_many_arguments,
|
256 |
clippy::never_loop,
|
257 |
clippy::suspicious_op_assign_impl,
|
258 |
clippy::too_many_arguments,
|
64 |
// lints for this file.
|
65 |
#![allow(clippy::suspicious_op_assign_impl)]
|
66 |
#![allow(clippy::suspicious_arithmetic_impl)]
|
1 |
#![allow(clippy::suspicious_op_assign_impl, clippy::suspicious_arithmetic_impl)]
|
2 |
#![deny(
|
65 |
#![allow(clippy::suspicious_arithmetic_impl)]
|
66 |
#![allow(clippy::suspicious_op_assign_impl)]
|
1 |
#![allow(clippy::suspicious_arithmetic_impl)]
|
2 |
#![allow(clippy::suspicious_op_assign_impl)]
|
41 |
// Some structs do not have AddAssign or MulAssign impl.
|
42 |
#![allow(clippy::suspicious_op_assign_impl)]
|
43 |
// Witness have always the same names in respect to wires.
|