Skip to content

update sender to grant on daemon #15

update sender to grant on daemon

update sender to grant on daemon #15

GitHub Actions / clippy failed Jan 17, 2024 in 0s

clippy

1 error

Details

Results

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

Versions

  • rustc 1.76.0-beta.5 (f732c37b4 2024-01-12)
  • cargo 1.76.0-beta.5 (ddec30889 2024-01-02)
  • clippy 0.1.76 (f732c37 2024-01-12)

Annotations

Check failure on line 39 in savings-bot/src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this expression creates a reference which is immediately dereferenced by the compiler

error: this expression creates a reference which is immediately dereferenced by the compiler
  --> savings-bot/src/main.rs:39:68
   |
39 |         daemon.query(&QueryMsg::Base(BaseQueryMsg::BaseConfig {}), &contract_addr)?;
   |                                                                    ^^^^^^^^^^^^^^ help: change this to: `contract_addr`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
   = note: `-D clippy::needless-borrow` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::needless_borrow)]`