From 1cb3a8da4cec94e23db0c512d3e805444aafcc81 Mon Sep 17 00:00:00 2001 From: Kayanski Date: Thu, 7 Nov 2024 08:39:25 +0000 Subject: [PATCH 1/2] Better doc comment --- framework/packages/abstract-client/src/builder.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/framework/packages/abstract-client/src/builder.rs b/framework/packages/abstract-client/src/builder.rs index b92d7d639..34e4c293e 100644 --- a/framework/packages/abstract-client/src/builder.rs +++ b/framework/packages/abstract-client/src/builder.rs @@ -177,6 +177,10 @@ pub mod cw20_builder { use crate::client::AbstractClientResult; /// A builder for creating and deploying `Cw20` contract in a [`CwEnv`](cw_orch::prelude::CwEnv) environment. + /// + /// Use the helpers methods to specifiy the details of your cw20 token. + /// + /// Use [`Self::instantiate_with_id`] to upload and instantiate your token. pub struct Cw20Builder { chain: Chain, name: String, From d994a9f06333dc6cc13f91c065e02ad7a7ce0e18 Mon Sep 17 00:00:00 2001 From: Kayanski <44806566+Kayanski@users.noreply.github.com> Date: Thu, 7 Nov 2024 10:27:38 +0100 Subject: [PATCH 2/2] Update framework/packages/abstract-client/src/builder.rs Co-authored-by: Mykhailo Donchenko <91957742+Buckram123@users.noreply.github.com> --- framework/packages/abstract-client/src/builder.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/packages/abstract-client/src/builder.rs b/framework/packages/abstract-client/src/builder.rs index 34e4c293e..553a74225 100644 --- a/framework/packages/abstract-client/src/builder.rs +++ b/framework/packages/abstract-client/src/builder.rs @@ -178,7 +178,7 @@ pub mod cw20_builder { /// A builder for creating and deploying `Cw20` contract in a [`CwEnv`](cw_orch::prelude::CwEnv) environment. /// - /// Use the helpers methods to specifiy the details of your cw20 token. + /// Use the builder methods to specifiy the details of your cw20 token. /// /// Use [`Self::instantiate_with_id`] to upload and instantiate your token. pub struct Cw20Builder {