Skip to content

Commit

Permalink
imp: added more 'non_exhaustive'
Browse files Browse the repository at this point in the history
  • Loading branch information
srdtrk committed Jun 18, 2024
1 parent 68f717b commit 45e987d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/types/query_msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ mod response {
}

/// The response type for the [`cosmwasm_std::BankQuery`] queries.
#[non_exhaustive]
#[cw_serde]
pub enum BankQueryResponse {
/// Response for the [`cosmwasm_std::BankQuery::Supply`] query.
Expand All @@ -139,6 +140,7 @@ mod response {
}

/// The response type for the [`cosmwasm_std::StakingQuery`] queries.
#[non_exhaustive]
#[cw_serde]
pub enum StakingQueryResponse {
/// Response for the [`cosmwasm_std::StakingQuery::BondedDenom`] query.
Expand Down

0 comments on commit 45e987d

Please sign in to comment.