Skip to content

Fix abstract cw-plus deps #1218

Fix abstract cw-plus deps

Fix abstract cw-plus deps #1218

GitHub Actions / clippy failed Jan 26, 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.75.0 (82e1608df 2023-12-21)
  • cargo 1.75.0 (1d8b05cdd 2023-11-20)
  • clippy 0.1.75 (82e1608 2023-12-21)

Annotations

Check failure on line 433 in packages/cw-orch-mock/src/core.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

the borrowed expression implements the required traits

error: the borrowed expression implements the required traits
   --> packages/cw-orch-mock/src/core.rs:433:29
    |
433 |         (*self).set_balance(&Addr::unchecked(address), amount)
    |                             ^^^^^^^^^^^^^^^^^^^^^^^^^ help: change this to: `Addr::unchecked(address)`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args
    = note: `-D clippy::needless-borrows-for-generic-args` implied by `-D warnings`
    = help: to override `-D warnings` add `#[allow(clippy::needless_borrows_for_generic_args)]`