-
Notifications
You must be signed in to change notification settings - Fork 13.4k
Tracking Issue for {HashMap,BTreeMap}::into_{keys,values} #75294
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
This change will be much appreciated. Could we please also have an into_entries function which returns a tuple of the key, and value? |
@GreenBeard that's what the |
@jplatte For some reason the documentation ( https://doc.rust-lang.org/std/collections/struct.BTreeMap.html ) has that as under "Show hidden undocumented items". Does that mean it was intentionally hidden, or is it an oversight/automatic? I didn't find it when using ctrl+f because of that. Edit: After further reading it appears that #56073 was really what stopped me from finding it. (I assumed since the expand all kept it hidden that it was intentionally hidden by the author of the code.) |
@GreenBeard Right, some trait methods are hidden like that. I would generally recommend using the search built into the page rather than the browser's search for rustdoc pages. The method is easy to find if you search for |
@rfcbot merge |
Team member @m-ou-se has proposed to merge this. The next step is review by the rest of the tagged team members: No concerns currently listed. Once a majority of reviewers approve (and at most 2 approvals are outstanding), this will enter its final comment period. If you spot a major issue that hasn't been raised at any point in this process, please speak up! See this document for info about what commands tagged team members can give me. |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
The final comment period, with a disposition to merge, as per the review above, is now complete. As the automated representative of the governance process, I would like to thank the author for their work and everyone else who contributed. The RFC will be merged soon. |
…, r=m-ou-se Stablize {HashMap,BTreeMap}::into_{keys,values} I would propose to stabilize `{HashMap,BTreeMap}::into_{keys,values}`( aka. `map_into_keys_values`). Closes rust-lang#75294.
…, r=m-ou-se Stablize {HashMap,BTreeMap}::into_{keys,values} I would propose to stabilize `{HashMap,BTreeMap}::into_{keys,values}`( aka. `map_into_keys_values`). Closes rust-lang#75294.
…, r=m-ou-se Stablize {HashMap,BTreeMap}::into_{keys,values} I would propose to stabilize `{HashMap,BTreeMap}::into_{keys,values}`( aka. `map_into_keys_values`). Closes rust-lang#75294.
Uh oh!
There was an error while loading. Please reload this page.
Feature gate:
#![feature(map_into_keys_values)]
This is a tracking issue for
{HashMap,BTreeMap}::into_{keys,values}
.Public API
Steps / History
into_keys
andinto_values
to associative maps #55214.into_keys
andinto_values
for associative maps #75163Unresolved Questions
The text was updated successfully, but these errors were encountered: