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
HashMap::iter() should yield (&K, &V), not &V.
HashMap::iter()
(&K, &V)
&V
and
HashMap::iter_mut()
So does OrdMap
As same as in std.
std
The text was updated successfully, but these errors were encountered:
But the HashMap iterator currently yields &(K, V), not &V?
HashMap
&(K, V)
The mutable iterator only yields &mut V, though, I agree it'd be better if it yielded (&K, &mut V).
&mut V
(&K, &mut V)
Sorry, something went wrong.
sorry, my mistake. only iter_mut()
1b5e2ff
No branches or pull requests
HashMap::iter()
should yield(&K, &V)
, not&V
.and
HashMap::iter_mut()
So does OrdMap
As same as in
std
.The text was updated successfully, but these errors were encountered: