Skip to content
GitHub Actions / clippy succeeded Sep 8, 2024 in 1s

clippy

1 warning

Details

Results

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

Versions

  • rustc 1.81.0 (eeb90cda1 2024-09-04)
  • cargo 1.81.0 (2dbb1af80 2024-08-20)
  • clippy 0.1.81 (eeb90cd 2024-09-04)

Annotations

Check warning on line 134 in src-tauri/src/operations/signatures/sign.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

using `map_err` over `inspect_err`

warning: using `map_err` over `inspect_err`
   --> src-tauri/src/operations/signatures/sign.rs:134:10
    |
134 |         .map_err(|e| {
    |          ^^^^^^^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#manual_inspect
    = note: `#[warn(clippy::manual_inspect)]` on by default
help: try
    |
134 ~         .inspect_err(|e| {
135 ~             log::error!(">>> Verification failed, wrong signature");
    |