Fix typos

This commit is contained in:
Jakub Konka
2019-06-24 22:55:15 +02:00
committed by Dan Gohman
parent b9c04d431f
commit 81b673f908
2 changed files with 3 additions and 3 deletions

View File

@@ -42,7 +42,7 @@ pub fn instantiate<S: AsRef<str>>(
&[bin_name.as_ref().to_owned(), ".".to_owned()],
&[],
)
.expect("instantiating wasi"),
.map_err(|e| format!("error instantiating WASI: {}", e))?,
);
// Compile and instantiating a wasm module.