We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The documentation for ExactSizeIterator.len() states:
Returns the exact remaining length of the iterator.
https://docs.rs/capnp/0.19.5/capnp/traits/struct.ListIter.html#impl-ExactSizeIterator-for-ListIter%3CT,+U%3E
It looks like the implementation returns the total length of the iterator not the length remaining.
The text was updated successfully, but these errors were encountered:
Good catch! #505 fixes this.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
The documentation for ExactSizeIterator.len() states:
https://docs.rs/capnp/0.19.5/capnp/traits/struct.ListIter.html#impl-ExactSizeIterator-for-ListIter%3CT,+U%3E
It looks like the implementation returns the total length of the iterator not the length remaining.
The text was updated successfully, but these errors were encountered: