Framework upgrade 0.55.0 #967
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (2)
bridge-proxy/src/bridge-proxy.rs|43 col 39| warning: the borrowed expression implements the required traits
--> bridge-proxy/src/bridge-proxy.rs:43:39
|
43 | self.payments(next_tx_id).set(&payment.clone());
| ^^^^^^^^^^^^^^^^ help: change this to: payment.clone()
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: #[warn(clippy::needless_borrows_for_generic_args)]
on by default
bridge-proxy/src/bridge-proxy.rs|43 col 39| warning: the borrowed expression implements the required traits
--> bridge-proxy/src/bridge-proxy.rs:43:39
|
43 | self.payments(next_tx_id).set(&payment.clone());
| ^^^^^^^^^^^^^^^^ help: change this to: payment.clone()
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: #[warn(clippy::needless_borrows_for_generic_args)]
on by default
Filtered Findings (0)
Annotations
Check warning on line 43 in bridge-proxy/src/bridge-proxy.rs
github-actions / clippy
[clippy] bridge-proxy/src/bridge-proxy.rs#L43
warning: the borrowed expression implements the required traits
--> bridge-proxy/src/bridge-proxy.rs:43:39
|
43 | self.payments(next_tx_id).set(&payment.clone());
| ^^^^^^^^^^^^^^^^ help: change this to: `payment.clone()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
Raw output
bridge-proxy/src/bridge-proxy.rs:43:39:w:warning: the borrowed expression implements the required traits
--> bridge-proxy/src/bridge-proxy.rs:43:39
|
43 | self.payments(next_tx_id).set(&payment.clone());
| ^^^^^^^^^^^^^^^^ help: change this to: `payment.clone()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
__END__
Check warning on line 43 in bridge-proxy/src/bridge-proxy.rs
github-actions / clippy
[clippy] bridge-proxy/src/bridge-proxy.rs#L43
warning: the borrowed expression implements the required traits
--> bridge-proxy/src/bridge-proxy.rs:43:39
|
43 | self.payments(next_tx_id).set(&payment.clone());
| ^^^^^^^^^^^^^^^^ help: change this to: `payment.clone()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
Raw output
bridge-proxy/src/bridge-proxy.rs:43:39:w:warning: the borrowed expression implements the required traits
--> bridge-proxy/src/bridge-proxy.rs:43:39
|
43 | self.payments(next_tx_id).set(&payment.clone());
| ^^^^^^^^^^^^^^^^ help: change this to: `payment.clone()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
= note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
__END__