reviewdog [clippy] report
reported by reviewdog 🐶
Findings (2)
sovereign-forge/src/common/utils.rs|47 col 41| warning: this expression creates a reference which is immediately dereferenced by the compiler
--> sovereign-forge/src/common/utils.rs:47:41
|
47 | self.check_if_contract_deployed(&caller, ScArray::ChainConfig, b"ChainConfig");
| ^^^^^^^ help: change this to: caller
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: #[warn(clippy::needless_borrow)]
on by default
sovereign-forge/src/common/utils.rs|47 col 41| warning: this expression creates a reference which is immediately dereferenced by the compiler
--> sovereign-forge/src/common/utils.rs:47:41
|
47 | self.check_if_contract_deployed(&caller, ScArray::ChainConfig, b"ChainConfig");
| ^^^^^^^ help: change this to: caller
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: #[warn(clippy::needless_borrow)]
on by default
Filtered Findings (0)
Annotations
Check warning on line 47 in sovereign-forge/src/common/utils.rs
github-actions / clippy
[clippy] sovereign-forge/src/common/utils.rs#L47
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> sovereign-forge/src/common/utils.rs:47:41
|
47 | self.check_if_contract_deployed(&caller, ScArray::ChainConfig, b"ChainConfig");
| ^^^^^^^ help: change this to: `caller`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
Raw output
sovereign-forge/src/common/utils.rs:47:41:w:warning: this expression creates a reference which is immediately dereferenced by the compiler
--> sovereign-forge/src/common/utils.rs:47:41
|
47 | self.check_if_contract_deployed(&caller, ScArray::ChainConfig, b"ChainConfig");
| ^^^^^^^ help: change this to: `caller`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
__END__
Check warning on line 47 in sovereign-forge/src/common/utils.rs
github-actions / clippy
[clippy] sovereign-forge/src/common/utils.rs#L47
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> sovereign-forge/src/common/utils.rs:47:41
|
47 | self.check_if_contract_deployed(&caller, ScArray::ChainConfig, b"ChainConfig");
| ^^^^^^^ help: change this to: `caller`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
Raw output
sovereign-forge/src/common/utils.rs:47:41:w:warning: this expression creates a reference which is immediately dereferenced by the compiler
--> sovereign-forge/src/common/utils.rs:47:41
|
47 | self.check_if_contract_deployed(&caller, ScArray::ChainConfig, b"ChainConfig");
| ^^^^^^^ help: change this to: `caller`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
__END__