cargo fmt && fix issue with function_body_ptr

This commit is contained in:
Felix Schütt
2022-08-26 18:48:48 +02:00
parent 14ddcfd153
commit 2ee66140c9
4 changed files with 10 additions and 12 deletions

View File

@@ -560,11 +560,11 @@ impl Module {
/// is returned.
pub fn custom_sections<'a>(&'a self, name: &'a str) -> impl Iterator<Item = Box<[u8]>> + 'a {
// TODO: implement on JavaScript
DefaultCustomSectionsIterator { }
DefaultCustomSectionsIterator {}
}
}
pub struct DefaultCustomSectionsIterator { }
pub struct DefaultCustomSectionsIterator {}
impl Iterator for DefaultCustomSectionsIterator {
type Item = Box<[u8]>;