Skip to content

Commit

Permalink
chore(runtime-c-api) Remove a useless format!.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan committed Dec 4, 2019
1 parent b6106f8 commit 9b27033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/runtime-c-api/src/import/wasi.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ fn wasmer_wasi_generate_import_object_inner(
let version = match version {
Version::Snapshot0 => wasi::WasiVersion::Snapshot0,
Version::Snapshot1 => wasi::WasiVersion::Snapshot1,
_ => panic!(format!("Version {:?} is invalid.", version)),
_ => panic!("Version {:?} is invalid.", version),
};

let import_object = Box::new(wasi::generate_import_object_for_version(
Expand Down

0 comments on commit 9b27033

Please sign in to comment.