Skip to content

Framework upgrade 0.55.0 #967

Framework upgrade 0.55.0

Framework upgrade 0.55.0 #967

GitHub Actions / clippy failed Jan 9, 2025 in 1s

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

See this annotation in the file changed.

@github-actions 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

See this annotation in the file changed.

@github-actions 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__