Skip to content

fmt

fmt #293

GitHub Actions / clippy succeeded Mar 19, 2024 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.76.0 (07dca489a 2024-02-04)
  • cargo 1.76.0 (c84b36747 2024-01-18)
  • clippy 0.1.76 (07dca48 2024-02-04)

Annotations

Check warning on line 17 in utils/poll-runner/src/pending.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

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

warning: the function has a cognitive complexity of (37/25)
  --> utils/poll-runner/src/pending.rs:17:14
   |
17 | pub async fn menu() {
   |              ^^^^
   |
   = 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

Check warning on line 22 in utils/poll-runner/src/active.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

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

warning: the function has a cognitive complexity of (40/25)
  --> utils/poll-runner/src/active.rs:22:14
   |
22 | pub async fn menu() {
   |              ^^^^
   |
   = 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
  --> utils/poll-runner/src/main.rs:2:9
   |
2  | #![warn(clippy::nursery, clippy::all)]
   |         ^^^^^^^^^^^^^^^
   = note: `#[warn(clippy::cognitive_complexity)]` implied by `#[warn(clippy::nursery)]`