Skip to content

Changed mock interface + corrected warnings (#303)

Sign in for the full log view
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy failed Jan 24, 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.7 (e8b6db725 2024-01-22)
  • cargo 1.76.0-beta.7 (c84b36747 2024-01-18)
  • clippy 0.1.76 (e8b6db7 2024-01-22)

Annotations

Check failure on line 413 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:413:29
    |
413 |         (*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)]`