From d9b7fc3e43df4da230c2f0911bce62238ba82fd0 Mon Sep 17 00:00:00 2001 From: Abdulhakee33 Date: Tue, 26 Aug 2025 14:47:41 +0800 Subject: [PATCH] chore: fix typos --- packages/std/src/exports/exports.rs | 4 ++-- packages/std/src/exports/imports.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/std/src/exports/exports.rs b/packages/std/src/exports/exports.rs index 9be7ab2aac..4e34f1f40a 100644 --- a/packages/std/src/exports/exports.rs +++ b/packages/std/src/exports/exports.rs @@ -346,7 +346,7 @@ where /// do_ibc_channel_connect is designed for use with #[entry_point] to make a "C" extern /// -/// contract_fn is a callback when a IBC channel is established (after both sides agree in open) +/// contract_fn is a callback when an IBC channel is established (after both sides agree in open) /// /// - `Q`: custom query type (see QueryRequest) /// - `C`: custom response message type (see CosmosMsg) @@ -374,7 +374,7 @@ where /// do_ibc_channel_close is designed for use with #[entry_point] to make a "C" extern /// -/// contract_fn is a callback when a IBC channel belonging to this contract is closed +/// contract_fn is a callback when an IBC channel belonging to this contract is closed /// /// - `Q`: custom query type (see QueryRequest) /// - `C`: custom response message type (see CosmosMsg) diff --git a/packages/std/src/exports/imports.rs b/packages/std/src/exports/imports.rs index 43c67f8aa1..097ed6a19c 100644 --- a/packages/std/src/exports/imports.rs +++ b/packages/std/src/exports/imports.rs @@ -101,7 +101,7 @@ extern "C" { /// greater than 1 in case of error. fn ed25519_batch_verify(messages_ptr: u32, signatures_ptr: u32, public_keys_ptr: u32) -> u32; - /// Writes a debug message (UFT-8 encoded) to the host for debugging purposes. + /// Writes a debug message (UTF-8 encoded) to the host for debugging purposes. /// The host is free to log or process this in any way it considers appropriate. /// In production environments it is expected that those messages are discarded. fn debug(source_ptr: u32);