Skip to content

Commit

Permalink
Tidy an unneeded mut.
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode committed May 21, 2020
1 parent dc81eb9 commit 223eaa6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/wasi/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fn main() -> Result<()> {

// Create a new `Linker` with no preloaded directories, command-line arguments,
// or environment variables.
let mut linker = wasi_linker(&store, &[], &[], &[])?;
let linker = wasi_linker(&store, &[], &[], &[])?;

// Instantiate and run our module with the imports we've created.
let _instance = linker.instantiate_wasi_abi(&module)?;
Expand Down

0 comments on commit 223eaa6

Please sign in to comment.