Skip to content

Commit

Permalink
Revert "Format change for wasm."
Browse files Browse the repository at this point in the history
This reverts commit d7257b6.
  • Loading branch information
emmiegit committed Jul 16, 2024
1 parent 2d0083b commit 70bc41c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/wasm/settings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ impl WikitextSettings {
_ => return Err(JsValue::from_str("Unknown layout")),
};

let settings = RustWikitextSettings::from_mode(rust_mode, rust_layout);
Ok(WikitextSettings { inner: Arc::new(settings) })
Ok(WikitextSettings {
inner: Arc::new(RustWikitextSettings::from_mode(rust_mode, rust_layout)),
})
}
}

0 comments on commit 70bc41c

Please sign in to comment.