Files

18 lines
903 B
Plaintext

warning: redundant closure
--> infrastructure/src/resource/sqlite.rs:28:26
|
28 | .map_err(|e| bat_core::Error::Io(e))?;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: replace the closure with the tuple variant itself: `bat_core::Error::Io`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/rust-1.96.0/index.html#redundant_closure
note: the lint level is defined here
--> infrastructure/src/lib.rs:10:9
|
10 | #![warn(clippy::all)]
| ^^^^^^^^^^^
= note: `#[warn(clippy::redundant_closure)]` implied by `#[warn(clippy::all)]`
warning: `bat-infrastructure` (lib) generated 1 warning (run `cargo clippy --fix --lib -p bat-infrastructure -- ` to apply 1 suggestion)
warning: `bat-infrastructure` (lib test) generated 1 warning (1 duplicate)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.53s