Skip to content

solana-ibc: update for_client_state documentation #442

solana-ibc: update for_client_state documentation

solana-ibc: update for_client_state documentation #442

GitHub Actions / clippy failed Nov 24, 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.76.0-nightly (a1a37735c 2023-11-23)
  • cargo 1.76.0-nightly (71cd3a926 2023-11-20)
  • clippy 0.1.76 (a1a3773 2023-11-23)

Annotations

Check failure on line 173 in solana/solana-ibc/programs/solana-ibc/src/storage/ids.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

duplicate definitions with name `channel_id`

error[E0592]: duplicate definitions with name `channel_id`
   --> solana/solana-ibc/programs/solana-ibc/src/storage/ids.rs:173:5
    |
167 |     pub fn channel_id(&self) -> ibc::ChannelId {
    |     ------------------------------------------ other definition for `channel_id`
...
173 |     pub fn channel_id(&self) -> ibc::ChannelId {
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `channel_id`

Check failure on line 171 in solana/solana-ibc/programs/solana-ibc/src/storage/ids.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

duplicate definitions with name `port_id`

error[E0592]: duplicate definitions with name `port_id`
   --> solana/solana-ibc/programs/solana-ibc/src/storage/ids.rs:171:5
    |
164 |     pub fn port_id(&self) -> ibc::PortId { ibc::PortId::from(&self.port_key) }
    |     ------------------------------------ other definition for `port_id`
...
171 |     pub fn port_id(&self) -> ibc::PortId { self.port_id.clone() }
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ duplicate definitions for `port_id`