Skip to content

move config docs to config #77

move config docs to config

move config docs to config #77

GitHub Actions / clippy succeeded Jul 20, 2023 in 1s

clippy

1 warning

Details

Results

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

Versions

  • rustc 1.71.0 (8ede3aae2 2023-07-12)
  • cargo 1.71.0 (cfd3bbd8f 2023-06-08)
  • clippy 0.1.71 (8ede3aa 2023-07-12)

Annotations

Check warning on line 72 in src/unwrap.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

casting to the same type is unnecessary (`i32` -> `i32`)

warning: casting to the same type is unnecessary (`i32` -> `i32`)
  --> src/unwrap.rs:72:38
   |
72 |         self.w = self.w.wrapping_add(dw as i32);
   |                                      ^^^^^^^^^ help: try: `dw`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
   = note: `#[warn(clippy::unnecessary_cast)]` on by default