Skip to content

Commit 1f347e9

Browse files
committed
Fix compile of integration test
Signed-off-by: Alex Crichton <alex@alexcrichton.com>
1 parent 3b6b6ac commit 1f347e9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/core/tests/integration_test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -261,8 +261,8 @@ impl HostComponent for MultiplierHostComponent {
261261
struct Multiplier(i32);
262262

263263
impl multiplier::imports::Host for Multiplier {
264-
fn multiply(&mut self, a: i32) -> wasmtime::Result<i32> {
265-
Ok(self.0 * a)
264+
fn multiply(&mut self, a: i32) -> i32 {
265+
self.0 * a
266266
}
267267
}
268268

0 commit comments

Comments
 (0)