Skip to content

Commit 90f4723

Browse files
authored
fix error bindings.h (#647)
* fix error bindings.h * Update bindings.h * Update memory.rs
1 parent bef437e commit 90f4723

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

internal/api/bindings.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ typedef struct ByteSliceView {
171171
* let mut mutable: Vec<u8> = input.consume().unwrap_or_default();
172172
* assert_eq!(mutable, vec![0xAA]);
173173
*
174-
* // `input` is now gone and we cam do everything we want to `mutable`,
174+
* // `input` is now gone and we can do everything we want to `mutable`,
175175
* // including operations that reallocate the underlying data.
176176
*
177177
* mutable.push(0xBB);

libwasmvm/bindings.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ typedef struct ByteSliceView {
171171
* let mut mutable: Vec<u8> = input.consume().unwrap_or_default();
172172
* assert_eq!(mutable, vec![0xAA]);
173173
*
174-
* // `input` is now gone and we cam do everything we want to `mutable`,
174+
* // `input` is now gone and we can do everything we want to `mutable`,
175175
* // including operations that reallocate the underlying data.
176176
*
177177
* mutable.push(0xBB);

libwasmvm/src/memory.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ impl U8SliceView {
192192
/// let mut mutable: Vec<u8> = input.consume().unwrap_or_default();
193193
/// assert_eq!(mutable, vec![0xAA]);
194194
///
195-
/// // `input` is now gone and we cam do everything we want to `mutable`,
195+
/// // `input` is now gone and we can do everything we want to `mutable`,
196196
/// // including operations that reallocate the underlying data.
197197
///
198198
/// mutable.push(0xBB);

0 commit comments

Comments
 (0)