Skip to content

Commit 0f868fe

Browse files
committed
chore: fix some typos
Signed-off-by: acceptacross <[email protected]>
1 parent ee9d20c commit 0f868fe

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

internal/api/bindings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ typedef struct ByteSliceView {
163163
* ```
164164
*
165165
*
166-
* If you want to mutate data, you need to comsume the vector and create a new one:
166+
* If you want to mutate data, you need to consume the vector and create a new one:
167167
*
168168
* ```rust
169169
* # use wasmvm::{UnmanagedVector};

libwasmvm/bindings.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ typedef struct ByteSliceView {
163163
* ```
164164
*
165165
*
166-
* If you want to mutate data, you need to comsume the vector and create a new one:
166+
* If you want to mutate data, you need to consume the vector and create a new one:
167167
*
168168
* ```rust
169169
* # use wasmvm::{UnmanagedVector};

libwasmvm/src/memory.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ impl U8SliceView {
180180
/// ```
181181
///
182182
///
183-
/// If you want to mutate data, you need to comsume the vector and create a new one:
183+
/// If you want to mutate data, you need to consume the vector and create a new one:
184184
///
185185
/// ```rust
186186
/// # use wasmvm::{UnmanagedVector};

types/env.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ package types
44

55
// Env defines the state of the blockchain environment this contract is
66
// running in. This must contain only trusted data - nothing from the Tx itself
7-
// that has not been verfied (like Signer).
7+
// that has not been verified (like Signer).
88
//
99
// Env are json encoded to a byte slice before passing to the wasm contract.
1010
type Env struct {

types/submessages.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ type SubMsg struct {
7272
//
7373
// On chains running CosmWasm 1.x this field will be ignored.
7474
Payload []byte `json:"payload,omitempty"`
75-
// Gas limit measured in [Cosmos SDK gas](https://github.com/CosmWasm/cosmwasm/blob/main/docs/GAS.md).
75+
// GasLimit measured in [Cosmos SDK gas](https://github.com/CosmWasm/cosmwasm/blob/main/docs/GAS.md).
7676
//
7777
// Setting this to `None` means unlimited. Then the submessage execution can consume all gas of
7878
// the current execution context.

0 commit comments

Comments
 (0)