Skip to content

more bodybag fixes

more bodybag fixes #52

GitHub Actions / clippy succeeded Nov 13, 2023 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.73.0 (cc66ad468 2023-10-03)
  • cargo 1.73.0 (9c4383fb5 2023-08-26)
  • clippy 0.1.73 (cc66ad4 2023-10-03)

Annotations

Check warning on line 4 in bin/hooks/src/missions.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the function has a cognitive complexity of (27/25)

warning: the function has a cognitive complexity of (27/25)
 --> bin/hooks/src/missions.rs:4:14
  |
4 | pub async fn list_updated() -> StatusCode {
  |              ^^^^^^^^^^^^
  |
  = help: you could split it up into multiple smaller functions
  = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#cognitive_complexity
note: the lint level is defined here
 --> bin/hooks/src/main.rs:2:9
  |
2 | #![warn(clippy::nursery, clippy::all)]
  |         ^^^^^^^^^^^^^^^
  = note: `#[warn(clippy::cognitive_complexity)]` implied by `#[warn(clippy::nursery)]`