mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-12 04:21:21 +00:00
Allow js_name attribute to accept a string
This commit is contained in:
committed by
Alex Crichton
parent
63ee9a024d
commit
21c36d3902
@ -563,7 +563,7 @@ impl<'a> FirstPassRecord<'a> {
|
||||
name.to_snake_case()
|
||||
}
|
||||
);
|
||||
let name = raw_ident(name);
|
||||
let name = name.to_string();
|
||||
|
||||
let arguments = self.webidl_arguments_to_syn_arg_captured(arguments.into_iter(), &kind)?;
|
||||
|
||||
|
Reference in New Issue
Block a user