Skip to content

Account for empty regions #4

Account for empty regions

Account for empty regions #4

GitHub Actions / Clippy (beta) succeeded Mar 29, 2024 in 0s

Clippy (beta)

2 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 2
Note 0
Help 0

Versions

  • rustc 1.67.0 (fc594f156 2023-01-24)
  • cargo 1.67.0 (8ecd4f20a 2023-01-10)
  • clippy 0.1.67 (fc594f1 2023-01-24)

Annotations

Check warning on line 369 in halo2_proofs/src/dev/cost_model.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (beta)

manual implementation of an assign operation

warning: manual implementation of an assign operation
   --> halo2_proofs/src/dev/cost_model.rs:369:21
    |
369 |                     expanded_rows_count = expanded_rows_count + ((end - start) + 1);
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `expanded_rows_count += ((end - start) + 1)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern
    = note: `-W clippy::assign-op-pattern` implied by `-W clippy::all`

Check warning on line 369 in halo2_proofs/src/dev/cost_model.rs

See this annotation in the file changed.

@github-actions github-actions / Clippy (beta)

manual implementation of an assign operation

warning: manual implementation of an assign operation
   --> halo2_proofs/src/dev/cost_model.rs:369:21
    |
369 |                     expanded_rows_count = expanded_rows_count + ((end - start) + 1);
    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace it with: `expanded_rows_count += ((end - start) + 1)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#assign_op_pattern
    = note: `-W clippy::assign-op-pattern` implied by `-W clippy::all`