mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-04-10 14:16:06 +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>;
|
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> {
|
pub struct Iter<'a> {
|
||||||
js: &'a Iterator,
|
js: &'a Iterator,
|
||||||
state: IterState,
|
state: IterState,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user