mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 18:20:51 +00:00
js-sys: Add doc comment for js_sys::Iter
This commit is contained in:
parent
8a2b2cb6e1
commit
dc22965e71
@ -1176,6 +1176,9 @@ extern {
|
||||
pub fn next(this: &Iterator) -> Result<IteratorNext, JsValue>;
|
||||
}
|
||||
|
||||
/// An iterator over the JS `Symbol.iterator` iteration protocol.
|
||||
///
|
||||
/// Use the `IntoIterator for &js_sys::Iterator` implementation to create this.
|
||||
pub struct Iter<'a> {
|
||||
js: &'a Iterator,
|
||||
state: IterState,
|
||||
|
Loading…
x
Reference in New Issue
Block a user