From 48cc0b9b62564a4347628ea976ebbda743af3d01 Mon Sep 17 00:00:00 2001 From: Benjamin DENEUX Date: Wed, 19 Oct 2022 15:11:16 +0200 Subject: [PATCH] feat(docs): add documentations title on attribute --- contracts/cw-template/src/msg.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contracts/cw-template/src/msg.rs b/contracts/cw-template/src/msg.rs index 781681ff..faac69c3 100644 --- a/contracts/cw-template/src/msg.rs +++ b/contracts/cw-template/src/msg.rs @@ -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 {