Skip to content

Add shutdown notifier to task scheduler #670

Add shutdown notifier to task scheduler

Add shutdown notifier to task scheduler #670

GitHub Actions / clippy succeeded Apr 15, 2025 in 0s

clippy

1 warning

Details

Results

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

Versions

  • rustc 1.86.0 (05f9846f8 2025-03-31)
  • cargo 1.86.0 (adf9b6ad1 2025-02-28)
  • clippy 0.1.86 (05f9846f89 2025-03-31)

Annotations

Check warning on line 15 in casper-server/src/utils/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

manually reimplementing `div_ceil`

warning: manually reimplementing `div_ceil`
  --> casper-server/src/utils/mod.rs:15:37
   |
15 |             let mut buf = vec![0u8; (len + 1) / 2];
   |                                     ^^^^^^^^^^^^^ help: consider using `.div_ceil()`: `len.div_ceil(2)`
   |
   = 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