Skip to content
GitHub Actions / clippy succeeded Aug 30, 2024 in 1s

clippy

2 warnings

Details

Results

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

Versions

  • rustc 1.80.1 (3f5fd8dd4 2024-08-06)
  • cargo 1.80.1 (376290515 2024-07-16)
  • clippy 0.1.80 (3f5fd8d 2024-08-06)

Annotations

Check warning on line 42 in plane/plane-tests/tests/forward_auth.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
  --> plane/plane-tests/tests/forward_auth.rs:42:9
   |
41 |         let a = client.status().await;
   |         ------------------------------ unnecessary `let` binding
42 |         a
   |         ^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#let_and_return
help: return the expression directly
   |
41 ~         
42 ~         client.status().await
   |

Check warning on line 18 in plane/plane-tests/tests/forward_auth.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
  --> plane/plane-tests/tests/forward_auth.rs:18:9
   |
17 |         let a = client.status().await;
   |         ------------------------------ unnecessary `let` binding
18 |         a
   |         ^
   |
   = 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
   |
17 ~         
18 ~         client.status().await
   |