-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
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
Stabilize 'entry_and_modify' feature #48166
Stabilize 'entry_and_modify' feature #48166
Conversation
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @cramertj (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
r? @sfackler (Or someone else on libs) |
@rfcbot fcp merge |
Team member @sfackler has proposed to merge this. The next step is review by the rest of the tagged teams: No concerns currently listed. Once a majority of reviewers approve (and none object), 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. 🔔 |
@bors: r+ |
📌 Commit 4360dfa has been approved by |
🌲 The tree is currently closed for pull requests below priority 100, this pull request will be tested once the tree is reopened |
src/libstd/collections/hash/map.rs
Outdated
@@ -2081,7 +2080,7 @@ impl<'a, K, V> Entry<'a, K, V> { | |||
/// .or_insert(42); | |||
/// assert_eq!(map["poneyland"], 43); | |||
/// ``` | |||
#[unstable(feature = "entry_and_modify", issue = "44733")] | |||
#[stable(feature = "entry_and_modify", since = "1.25.0")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version number should be changed to 1.26.0
(Fixed in an extra commit) |
src/liballoc/btree/map.rs
Outdated
@@ -2129,7 +2128,7 @@ impl<'a, K: Ord, V> Entry<'a, K, V> { | |||
/// .or_insert(42); | |||
/// assert_eq!(map["poneyland"], 43); | |||
/// ``` | |||
#[unstable(feature = "entry_and_modify", issue = "44733")] | |||
#[stable(feature = "entry_and_modify", since = "1.25.0")] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Manishearth This also needs to be 1.26.0...
Whatever, I've fixed it myself.
94b7821
to
0aa753b
Compare
@bors r=alexcrichton |
📌 Commit 0aa753b has been approved by |
🌲 The tree is currently closed for pull requests below priority 100, this pull request will be tested once the tree is reopened |
…-entry_and_modify, r=alexcrichton Stabilize 'entry_and_modify' feature Stabilize `entry_and_modify` feature introduced by rust-lang#44734. Closes rust-lang#44733
Stabilize
entry_and_modify
feature introduced by #44734.Closes #44733