Skip to content

Commit 8743bc3

Browse files
authored
Update go.rs
1 parent 3b64af6 commit 8743bc3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libwasmvm/src/error/go.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl GoError {
5252
/// If it is GoError::User the error message will be returned to the contract.
5353
/// Otherwise, the returned error will trigger a trap in the VM and abort contract execution immediately.
5454
///
55-
/// This reads data from an externally provided `UnmanagedVector` and assumes UFT-8 encoding. To protect
55+
/// This reads data from an externally provided `UnmanagedVector` and assumes UTF-8 encoding. To protect
5656
/// against invalid UTF-8 data, a lossy conversion to string is used. The data is limited to 8KB in order
5757
/// to protect against long externally generated error messages.
5858
///

0 commit comments

Comments
 (0)