mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 04:21:21 +00:00
rustfmt all the things
This commit is contained in:
@ -405,7 +405,10 @@ impl Program {
|
||||
};
|
||||
let class_name = extract_path_ident(class_name)
|
||||
.expect("first argument of method must be a bare type");
|
||||
let class_name = wasm.opts.js_class().map(Into::into)
|
||||
let class_name = wasm
|
||||
.opts
|
||||
.js_class()
|
||||
.map(Into::into)
|
||||
.unwrap_or_else(|| class_name.to_string());
|
||||
|
||||
ImportFunctionKind::Method {
|
||||
|
Reference in New Issue
Block a user