You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add methods exposing keys of BTreeMap and HashMap entries #32281
B-unstableBlocker: Implemented in the nightly compiler and unstable.T-libs-api[DEPRECATED; DO NOT USE]final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.
I think it'd be more associated with the key recovery tracking issue, but that's already landed. In any case, I don't think an RFC would be required - it can piggy back off of the existing key recovery one.
B-unstableBlocker: Implemented in the nightly compiler and unstable.T-libs-api[DEPRECATED; DO NOT USE]final-comment-periodIn the final comment period and will be merged soon unless new substantive objections are raised.
Activity
frewsxcv commentedon Mar 19, 2016
Was this completed in #32248?
apasel422 commentedon Mar 19, 2016
@frewsxcv Yes. We'll keep it open as the tracking issue.
sgrif commentedon Apr 17, 2016
Had a use case for this in Diesel this morning. (Code comparison: https://gist.github.com/sgrif/68cbba9a87084da3a2e8c42a12e7d6cf). Worked great, and was exactly the missing piece. Looking forward to seeing this stabilized.
sfackler commentedon Apr 21, 2016
I just noticed that while this is on both
OccupiedEntryandVacantEntry, the convenience impl onEntryis missing.seanmonstar commentedon Apr 21, 2016
If I wanted to propose a
fn take(self) -> (K, V), would it be fine to tag along with this issue, or should that require its own RFC?sfackler commentedon Apr 21, 2016
I think it'd be more associated with the key recovery tracking issue, but that's already landed. In any case, I don't think an RFC would be required - it can piggy back off of the existing key recovery one.
sfackler commentedon Apr 21, 2016
cc @aturon
Add Entry::key
alexcrichton commentedon Apr 29, 2016
🔔 This issue is now entering its cycle-long final comment period for stabilization 🔔
(including #33148)
Auto merge of #33148 - sfackler:entry-key, r=alexcrichton
7 remaining items
std: Stabilize APIs for the 1.10 release
std: Stabilize APIs for the 1.10 release
Auto merge of #33300 - seanmonstar:map-entry-take, r=alexcrichton