Skip to content

Commit e63bd68

Browse files
authored
fix compilation error
1 parent 8bd218c commit e63bd68

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/backends/wasi_p1.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,6 @@ pub fn fill_inner(dest: &mut [MaybeUninit<u8>]) -> Result<(), Error> {
2626
match ret {
2727
0 => Ok(()),
2828
code if code <= MAX_ERROR_CODE => Err(Error::from_neg_error_code(-code)),
29-
_ => Error::UNEXPECTED,
29+
_ => Err(Error::UNEXPECTED),
3030
}
3131
}

0 commit comments

Comments
 (0)