You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
warning: in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
--> linux-package-analyzer/src/db.rs:943:96
|
943 | match name_insert.query_row(params![symbol.name, symbol.name_demangled], |row| {
| ________________________________________________________________________________________________^
944 | | let id: i64 = row.get(0)?;
945 | |
946 | | Ok(id)
947 | | }) {
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions
= note: `#[warn(clippy::blocks_in_conditions)]` on by default
warning: in a `match` scrutinee, avoid complex blocks or closures with blocks; instead, move the block or closure higher and bind it with a `let`
--> linux-package-analyzer/src/db.rs:943:96
|
943 | match name_insert.query_row(params![symbol.name, symbol.name_demangled], |row| {
| ________________________________________________________________________________________________^
944 | | let id: i64 = row.get(0)?;
945 | |
946 | | Ok(id)
947 | | }) {
| |_________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#blocks_in_conditions
= note: `#[warn(clippy::blocks_in_conditions)]` on by default