Skip to content

funds-manager: execution-client: Add quote and price helpers #143

funds-manager: execution-client: Add quote and price helpers

funds-manager: execution-client: Add quote and price helpers #143

GitHub Actions / clippy failed Aug 8, 2024 in 0s

clippy

2 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 2
Warning 0
Note 0
Help 0

Versions

  • rustc 1.78.0-nightly (3cbb93223 2024-03-13)
  • cargo 1.78.0-nightly (7065f0ef4 2024-03-12)
  • clippy 0.1.78 (3cbb932 2024-03-13)

Annotations

Check failure on line 21 in funds-manager/funds-manager-server/src/execution_client/error.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this argument is passed by value, but not consumed in the function body

error: this argument is passed by value, but not consumed in the function body
  --> funds-manager/funds-manager-server/src/execution_client/error.rs:21:34
   |
21 |     pub fn parse<T: ToString>(e: T) -> Self {
   |                                  ^ help: consider taking a reference instead: `&T`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value

Check failure on line 16 in funds-manager/funds-manager-server/src/execution_client/error.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this argument is passed by value, but not consumed in the function body

error: this argument is passed by value, but not consumed in the function body
  --> funds-manager/funds-manager-server/src/execution_client/error.rs:16:33
   |
16 |     pub fn http<T: ToString>(e: T) -> Self {
   |                                 ^ help: consider taking a reference instead: `&T`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_pass_by_value
   = note: requested on the command line with `-D clippy::needless-pass-by-value`