Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tiny_map from_iter where one operation was being dropped (#2733)
15th operation was being dropped when iterator was being read into a TinyMap The 15th operation was being dropped when the if statement was caught because the operation had been popped of the iterator but hadn't been added to the vec of operations before the two iterators were being chained and collected into a Added unit tests that reproduced the issue and verified that the issue is fixed <!--- If a checkbox below is not applicable, then please DELETE it rather than leaving it unchecked --> - [x] I have updated `CHANGELOG.next.toml` if I made changes to the smithy-rs codegen or runtime crates - [ ] I have updated `CHANGELOG.next.toml` if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates ---- _By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice._ Co-authored-by: Thor Bjorgvinsson <[email protected]>
- Loading branch information