mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-06-22 01:01:34 +00:00
Translate ByteString
in WebIDL to [u8]
(#505)
In arguments take `&[u8]` and in return value return `Vec<u8>`. Should help fill out a few more APIs on `Header` and `Response`!
This commit is contained in:
@ -269,7 +269,12 @@ where
|
||||
self.retain(|x| {
|
||||
let mut all_defined = true;
|
||||
x.imported_type_references(&mut |id| {
|
||||
all_defined = all_defined && is_defined(id);
|
||||
if all_defined {
|
||||
if !is_defined(id) {
|
||||
info!("removing due to {} not being defined", id);
|
||||
all_defined = false;
|
||||
}
|
||||
}
|
||||
});
|
||||
all_defined
|
||||
});
|
||||
|
Reference in New Issue
Block a user