Skip to content

chore: Bump serde from 1.0.179 to 1.0.180 (#172) #478

chore: Bump serde from 1.0.179 to 1.0.180 (#172)

chore: Bump serde from 1.0.179 to 1.0.180 (#172) #478

GitHub Actions / clippy succeeded Aug 1, 2023 in 0s

clippy

3 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 3
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 99 in fatigue/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

deref which would be done by auto-deref

warning: deref which would be done by auto-deref
  --> fatigue/src/main.rs:99:47
   |
99 |         output_formatter.update_result_status(&*rx.borrow());
   |                                               ^^^^^^^^^^^^^ help: try this: `&rx.borrow()`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#explicit_auto_deref
   = note: `#[warn(clippy::explicit_auto_deref)]` on by default

Check warning on line 43 in libfatigue/src/context/actions/json.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

returning the result of a `let` binding from a block

warning: returning the result of a `let` binding from a block
  --> libfatigue/src/context/actions/json.rs:43:21
   |
42 |                     let res = serde_json::from_str(raw.as_str())?;
   |                     ---------------------------------------------- unnecessary `let` binding
43 |                     res
   |                     ^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
   = note: `#[warn(clippy::let_and_return)]` on by default
help: return the expression directly
   |
42 ~                     
43 ~                     serde_json::from_str(raw.as_str())?
   |

Check warning on line 36 in libfatigue/src/actions/request.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless conversion to the same type: `std::str::Lines<'_>`

warning: useless conversion to the same type: `std::str::Lines<'_>`
  --> libfatigue/src/actions/request.rs:34:43
   |
34 |           let rendered_path_lines: Vec<_> = rendered_path
   |  ___________________________________________^
35 | |             .lines()
36 | |             .into_iter()
   | |________________________^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
   = note: `#[warn(clippy::useless_conversion)]` on by default
help: consider removing `.into_iter()`
   |
34 ~         let rendered_path_lines: Vec<_> = rendered_path
35 +             .lines()
   |