diff --git a/lib/runtime-c-api/src/error.rs b/lib/runtime-c-api/src/error.rs index 0a578f9e2..d5fcfe354 100644 --- a/lib/runtime-c-api/src/error.rs +++ b/lib/runtime-c-api/src/error.rs @@ -69,7 +69,7 @@ pub unsafe extern "C" fn wasmer_last_error_message(buffer: *mut c_char, length: let length = length as usize; if error_message.len() >= length { - // buffer to small to hold the error message + // buffer is too small to hold the error message return -1; }