Skip to content

Commit

Permalink
consistent naming
Browse files Browse the repository at this point in the history
  • Loading branch information
rnbguy committed Apr 25, 2024
1 parent 57bfb99 commit 18375cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ibc-derive/src/consensus_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub fn consensus_state_derive_impl(ast: DeriveInput, imports: &Imports) -> Token

let CommitmentRoot = imports.commitment_root();
let ConsensusState = imports.consensus_state();
let proto_any = imports.any();
let ProtoAny = imports.any();
let Timestamp = imports.timestamp();

quote! {
Expand All @@ -46,7 +46,7 @@ pub fn consensus_state_derive_impl(ast: DeriveInput, imports: &Imports) -> Token
}
}

fn into_any(self) -> #proto_any {
fn into_any(self) -> #ProtoAny {
match self {
#(#into_any_impl),*
}
Expand Down

0 comments on commit 18375cb

Please sign in to comment.