solana-ibc: store next sequences in a single object #158
GitHub Actions / clippy
failed
Oct 19, 2023 in 0s
clippy
2 errors
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 2 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.75.0-nightly (0039d739d 2023-10-18)
- cargo 1.75.0-nightly (8eb8acbb1 2023-10-17)
- clippy 0.1.75 (0039d73 2023-10-18)
Annotations
Check failure on line 146 in solana/solana-ibc/programs/solana-ibc/src/trie_key.rs
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
--> solana/solana-ibc/programs/solana-ibc/src/trie_key.rs:146:13
|
146 | &path.channel_id,
| ^^^^^^^^^^^^^^^^ help: change this to: `path.channel_id`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
Check failure on line 145 in solana/solana-ibc/programs/solana-ibc/src/trie_key.rs
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
--> solana/solana-ibc/programs/solana-ibc/src/trie_key.rs:145:13
|
145 | &path.port_id,
| ^^^^^^^^^^^^^ help: change this to: `path.port_id`
|
= 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)]`
Loading