relayer: scope config per endpoint #1
Annotations
4 errors
this expression creates a reference which is immediately dereferenced by the compiler:
crates/relayer/src/supervisor.rs#L654
error: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/relayer/src/supervisor.rs:654:49
|
654 | let chain = match registry.get_or_spawn(&chain_config.id()) {
| ^^^^^^^^^^^^^^^^^^ help: change this to: `chain_config.id()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
crates/relayer/src/supervisor/scan.rs#L312
error: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/relayer/src/supervisor/scan.rs:312:54
|
312 | let chain = match self.registry.get_or_spawn(&chain_config.id()) {
| ^^^^^^^^^^^^^^^^^^ help: change this to: `chain_config.id()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
note: the lint level is defined here
--> crates/relayer/src/lib.rs:3:5
|
3 | warnings,
| ^^^^^^^^
= note: `#[deny(clippy::needless_borrow)]` implied by `#[deny(warnings)]`
|
this expression creates a reference which is immediately dereferenced by the compiler:
crates/relayer/src/supervisor.rs#L654
error: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/relayer/src/supervisor.rs:654:49
|
654 | let chain = match registry.get_or_spawn(&chain_config.id()) {
| ^^^^^^^^^^^^^^^^^^ help: change this to: `chain_config.id()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
crates/relayer/src/supervisor/scan.rs#L312
error: this expression creates a reference which is immediately dereferenced by the compiler
--> crates/relayer/src/supervisor/scan.rs:312:54
|
312 | let chain = match self.registry.get_or_spawn(&chain_config.id()) {
| ^^^^^^^^^^^^^^^^^^ help: change this to: `chain_config.id()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
note: the lint level is defined here
--> crates/relayer/src/lib.rs:3:5
|
3 | warnings,
| ^^^^^^^^
= note: `#[deny(clippy::needless_borrow)]` implied by `#[deny(warnings)]`
|