noritada / grib-rs

GRIB format parser for Rust
Apache License 2.0
57 stars 9 forks source link

Fix an issue that `size_hint()` results do not change after consuming iterator items #54

Closed noritada closed 1 year ago

noritada commented 1 year ago

This PR fixes an issue that size_hint() results do not change after consuming iterator items. The implementation of size_hint() should return the bounds on the remaining length of the iterator.

Closes #50.