Skip to content

Commit aaecec5

Browse files
Fix typo
Co-authored-by: Kate Goldenring <[email protected]>
1 parent 145b1c4 commit aaecec5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

component-model/examples/example-host/src/sync_add.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ pub fn add(path: PathBuf, x: i32, y: i32) -> wasmtime::Result<i32> {
2323
// For this simple adder component, no need to manually link additional interfaces.
2424
let mut linker = Linker::new(&engine);
2525
// Add wasi exports to linker to support io interfaces
26-
wasmtime_wasi::add_to_linker_sync(&mut linker).expect("Coould not add wasi to linker");
26+
wasmtime_wasi::add_to_linker_sync(&mut linker).expect("Could not add wasi to linker");
2727
let instance = Example::instantiate(&mut store, &component, &linker)
2828
.context("Failed to instantiate the example world")?;
2929
instance

0 commit comments

Comments
 (0)