Skip to content

Commit 7b45e5a

Browse files
BigtoCchipshort
authored andcommitted
doc(comment): Add code comments
1 parent 021e495 commit 7b45e5a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/std/src/metadata.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ pub struct DenomUnit {
2727
#[derive(Serialize, Deserialize, Clone, Default, Debug, PartialEq, Eq, JsonSchema)]
2828
pub struct NullableDenomMetadata {
2929
pub description: String,
30-
// https://github.com/cosmos/cosmos-sdk/blob/main/api/cosmos/bank/v1beta1/bank.pulsar.go#L4539
30+
// denom_units is nullable: https://github.com/cosmos/cosmos-sdk/blob/main/api/cosmos/bank/v1beta1/bank.pulsar.go#L4539
3131
pub denom_units: Option<Vec<NullableDenomUnit>>,
3232
pub base: String,
3333
pub display: String,
@@ -42,6 +42,6 @@ pub struct NullableDenomMetadata {
4242
pub struct NullableDenomUnit {
4343
pub denom: String,
4444
pub exponent: u32,
45-
// https://github.com/cosmos/cosmos-sdk/blob/main/api/cosmos/bank/v1beta1/bank.pulsar.go#L4478
45+
// aliases is nullable: https://github.com/cosmos/cosmos-sdk/blob/main/api/cosmos/bank/v1beta1/bank.pulsar.go#L4478
4646
pub aliases: Option<Vec<String>>,
4747
}

0 commit comments

Comments
 (0)