-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Partially stabilize bound_as_ref
by stabilizing Bound::as_ref
#99736
Partially stabilize bound_as_ref
by stabilizing Bound::as_ref
#99736
Conversation
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
r? @thomcc (rust-highfive has picked a reviewer for you, use r? to override) |
bound_as_ref
by stablizing Bound::as_ref
bound_as_ref
by stabilizing Bound::as_ref
Impl looks fine but this needs libs-api FCP. |
oh whoops, it looks like I missed the magic comment rustbot asked me to make. Thanks @thomcc! |
Stabilization ReportThis stabilization report is for a partial stabilization of the Implementation History
API SummaryThis stabilization report proposes the following API to be stabilized: impl<T> Bound<T> {
pub fn as_ref(&self) -> Bound<&T>;
} This new API has a motivating usecase to assist in the implementation of the Experience ReportCode such as this is ready to be converted to this API: @dtolnay has remarked that |
Team member @yaahc 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. |
@yaahc did I do something wrong that has caused this proposed FCP to hang open? Do I need to update the |
🔔 This is now entering its final comment period, as per the review above. 🔔 |
👋 Hello, I'm writing this comment in this stabilization PR to notify you, the authors of this PR, that #100591 has been merged, which implemented a change in how features are stabilized. Your PR has been filed before the change, so will likely require modifications in order to comply with the new rules. I recommend you to:
That's it! The If you have any questions, feel free to drop by the zulip stream, or ping me directly in this PR's thread. Thanks! 👋 |
@est31 I think I got this sorted out. Thanks for making this change! It directly addresses my concern from #99736 (comment). |
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. This will be merged soon. |
@yaahc @joshtriplett can this be merged now that the FCP is concluded? |
@bors r+ |
Rollup of 7 pull requests Successful merges: - rust-lang#99736 (Partially stabilize `bound_as_ref` by stabilizing `Bound::as_ref`) - rust-lang#100928 (Migrate rustc_metadata to SessionDiagnostics) - rust-lang#101217 ([drop tracking] Use parent expression for scope, not parent node ) - rust-lang#101325 (Windows RNG: Use `BCRYPT_RNG_ALG_HANDLE` by default) - rust-lang#101330 (Fix `std::collections::HashSet::drain` documentation) - rust-lang#101338 (Fix unsupported syntax in .manifest file) - rust-lang#101348 (Cleanup css theme) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
Stabilizing
Bound::as_ref
will simplify the implementation forRangeBounds<usize>
for custom range types:See:
cc @yaahc who suggested partial stabilization.