Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint warning cleanup #342

Merged
merged 6 commits into from
Nov 21, 2023

Remove lint grpc_gateway for now

29cfb24
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Lint warning cleanup #342

Remove lint grpc_gateway for now
29cfb24
Select commit
Loading
Failed to load commit list.
GitHub Actions / ffi succeeded Nov 21, 2023 in 1s

ffi

1 warning

Details

Results

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

Versions

  • rustc 1.74.0 (79e9716c9 2023-11-13)
  • cargo 1.74.0 (ecb9851af 2023-10-18)
  • clippy 0.1.74 (79e9716 2023-11-13)

Annotations

Check warning on line 14 in src/v2.rs

See this annotation in the file changed.

@github-actions github-actions / ffi

unneeded `return` statement

warning: unneeded `return` statement
  --> src/v2.rs:14:5
   |
14 |     return Ok(recovered);
   |     ^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
   = note: `#[warn(clippy::needless_return)]` on by default
help: remove `return`
   |
14 -     return Ok(recovered);
14 +     Ok(recovered)
   |