Skip to content

cargo in /. for sysinfo - Update #942053365 #237

cargo in /. for sysinfo - Update #942053365

cargo in /. for sysinfo - Update #942053365 #237

GitHub Actions / clippy succeeded Jan 2, 2025 in 0s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.83.0 (90b35a623 2024-11-26)
  • cargo 1.83.0 (5ffbef321 2024-10-29)
  • clippy 0.1.83 (90b35a6 2024-11-26)

Annotations

Check warning on line 287 in scrypt-ocl/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

manually reimplementing `div_ceil`

warning: manually reimplementing `div_ceil`
   --> scrypt-ocl/src/lib.rs:287:17
    |
287 |                 (labels_to_init + self.preferred_wg_size_mult - 1) / self.preferred_wg_size_mult
    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.div_ceil()`: `labels_to_init.div_ceil(self.preferred_wg_size_mult)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_div_ceil
    = note: `#[warn(clippy::manual_div_ceil)]` on by default

Check warning on line 118 in src/prove.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

manually reimplementing `div_ceil`

warning: manually reimplementing `div_ceil`
   --> src/prove.rs:118:52
    |
118 |     let end_group = std::cmp::max(start_group + 1, (nonces.end + per_aes - 1) / per_aes);
    |                                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.div_ceil()`: `nonces.end.div_ceil(per_aes)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_div_ceil
    = note: `#[warn(clippy::manual_div_ceil)]` on by default