Skip to content

Commit

Permalink
feat(docs): add documentations title on attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
bdeneux committed Oct 19, 2022
1 parent b26698c commit 48cc0b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions contracts/cw-template/src/msg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ pub enum ExecuteMsg {
#[cw_serde]
#[derive(QueryResponses)]
pub enum QueryMsg {
/// # GetCount
/// GetCount returns the current count as a json-encoded number
#[returns(GetCountResponse)]
GetCount {},
}

/// # GetCountResponse
/// We define a custom struct for each query response
#[cw_serde]
pub struct GetCountResponse {
Expand Down

0 comments on commit 48cc0b9

Please sign in to comment.