mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-05-15 15:21:20 +00:00
Fix webidl crate
This commit is contained in:
parent
5a776c16b2
commit
f4b49226b6
@ -171,6 +171,7 @@ impl WebidlParse<()> for webidl::ast::NonPartialInterface {
|
|||||||
pub_token: Default::default(),
|
pub_token: Default::default(),
|
||||||
}),
|
}),
|
||||||
name: rust_ident(&self.name),
|
name: rust_ident(&self.name),
|
||||||
|
attrs: Vec::new(),
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -379,7 +380,7 @@ impl<'a> WebidlParse<&'a str> for webidl::ast::StaticOperation {
|
|||||||
if util::is_chrome_only(&self.extended_attributes) {
|
if util::is_chrome_only(&self.extended_attributes) {
|
||||||
return Ok(())
|
return Ok(())
|
||||||
}
|
}
|
||||||
|
|
||||||
create_basic_method(
|
create_basic_method(
|
||||||
&self.arguments,
|
&self.arguments,
|
||||||
self.name.as_ref(),
|
self.name.as_ref(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user