Skip to content

Commit 69cb551

Browse files
authored
chore: fix some comments (#2404)
Signed-off-by: laterlaugh <manziwenzhai@sina.cn>
1 parent f3236ad commit 69cb551

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

contracts/ibc-reflect/src/contract.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ fn encode_ibc_error(msg: impl Into<String>) -> Binary {
257257
}
258258

259259
#[entry_point]
260-
/// we look for a the proper reflect contract to relay to and send the message
260+
/// we look for the proper reflect contract to relay to and send the message
261261
/// We cannot return any meaningful response value as we do not know the response value
262262
/// of execution. We just return ok if we dispatched, error if we failed to dispatch
263263
pub fn ibc_packet_receive(

packages/vm/src/wasm_backend/limiting_tunables.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ impl<T: Tunables> LimitingTunables<T> {
3838
adjusted
3939
}
4040

41-
/// Ensures the a given memory type does not exceed the memory limit.
41+
/// Ensures a given memory type does not exceed the memory limit.
4242
/// Call this after adjusting the memory.
4343
fn validate_memory(&self, ty: &MemoryType) -> Result<(), MemoryError> {
4444
if ty.minimum > self.limit {

0 commit comments

Comments
 (0)