Update dependencies #322
Annotations
2 errors
Run Clippy:
src/main.rs#L185
error: this `map_or` is redundant
--> src/commands/inspect/transaction.rs:185:9
|
185 | tx.transparent_bundle().map_or(false, |b| !b.vin.is_empty()),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use is_some_and instead: `tx.transparent_bundle().is_some_and(|b| !b.vin.is_empty())`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_map_or
= note: `-D clippy::unnecessary-map-or` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::unnecessary_map_or)]`
|
Run Clippy:
src/main.rs#L117
error: the following explicit lifetimes could be elided: 'a
--> src/remote.rs:117:6
|
117 | impl<'a> Server<'a> {
| ^^ ^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_lifetimes
= note: `-D clippy::needless-lifetimes` implied by `-D warnings`
= help: to override `-D warnings` add `#[allow(clippy::needless_lifetimes)]`
help: elide the lifetimes
|
117 - impl<'a> Server<'a> {
117 + impl Server<'_> {
|
|
Loading