Skip to content

Conversation

@hmuendel
Copy link
Contributor

For a MultiMap to be consumed in a for loop, the intoIter trait needs
to be implemented. This is done, trying to mirror the implementation
of std::collections::HashMap.

Fixes #5

hmuendel and others added 2 commits April 10, 2020 16:02
For a MultiMap to be consumed in a for loop, the intoIter trait needs
to be implemented. This is done, trying to mirror the implementation
of std::collections::HashMap.

Signed-off-by: Hans Mündelein <hans@muendelein.me>
@thejpster thejpster merged commit f98dbf5 into rust-embedded-community:master Apr 10, 2020
@thejpster
Copy link
Member

Thanks!

@hmuendel hmuendel deleted the intoIter branch April 11, 2020 07:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Question about Iterator and for loops

2 participants