Skip to content

Commit

Permalink
cargo fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
guybedford committed Jan 30, 2024
1 parent ca2e376 commit 39d9f4f
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions crates/spidermonkey-embedding-splicer/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -123,13 +123,8 @@ impl Guest for SpidermonkeyEmbeddingSplicerComponent {
.select_world(id, world_name.as_deref())
.map_err(|e| e.to_string())?;

let encoded = wit_component::metadata::encode(
&resolve,
world,
StringEncoding::UTF8,
None,
)
.map_err(|e| e.to_string())?;
let encoded = wit_component::metadata::encode(&resolve, world, StringEncoding::UTF8, None)
.map_err(|e| e.to_string())?;

let section = wasm_encoder::CustomSection {
name: "component-type".into(),
Expand Down

0 comments on commit 39d9f4f

Please sign in to comment.