-
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
Tracking Issue for inherent_ascii_escape #77174
Comments
This comment has been minimized.
This comment has been minimized.
What's the status of this? Is it ready for stabilization or waiting for something? |
This seems reasonable to me, and it seems to work as advertised. Shall we stabilize these @rfcbot merge |
Team member @joshtriplett 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. 🔔 |
One thing that wasn't mentioned in FCP: should stabilising this also lead to deprecating the |
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. |
…nytm Re-export some iterators from `core` in `std` These iterators seem to have been forgotten to be re-exported from `std` (through `alloc`) These are stable: `core::slice::{SplitInclusive, SplitInclusiveMut}` This one is still unstable: `core::slice::EscapeAscii` (cc rust-lang#77174)
Happy to see this land. The documentation should
|
Adding another comment to this, since there hasn't been a stabilisation PR: should stabilising this also deprecate the |
Nominated so we can make sure this gets discussed during our next libs-api team meeting on Wednesday. |
Also adding more details on what the deprecation would look like, for full clarity. When I say
|
We discussed this in today's @rust-lang/libs-api meeting. We agreed that we don't want to treat We'd love to see a stabilization PR for this feature. |
…Mark-Simulacrum Stabilise inherent_ascii_escape (FCP in rust-lang#77174) Implements rust-lang#77174, which completed its FCP. This does *not* deprecate any existing methods or structs, as that is tracked in rust-lang#93887. That stated, people should prefer using `u8::escape_ascii` to `std::ascii::escape_default`.
…askrgr Rollup of 9 pull requests Successful merges: - rust-lang#89926 (make `Instant::{duration_since, elapsed, sub}` saturating and remove workarounds) - rust-lang#90532 (More informative error message for E0015) - rust-lang#93810 (Improve chalk integration) - rust-lang#93851 (More practical examples for `Option::and_then` & `Result::and_then`) - rust-lang#93885 (bootstrap.py: Suggest disabling download-ci-llvm option if url fails to download) - rust-lang#93886 (Stabilise inherent_ascii_escape (FCP in rust-lang#77174)) - rust-lang#93930 (add link to format_args! when mention it in docs) - rust-lang#93936 (Couple of driver cleanups) - rust-lang#93944 (Don't relabel to a team if there is already a team label) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
("Implements" isn't on GitHub's close term list, but, this was merged.) |
Feature gate:
#![feature(inherent_ascii_escape)]
Public API
Steps / History
Add escape_ascii method to u8 and [u8] #73111escape_ascii take 2 #83130Unresolved Questions
escape_ascii
,escape_default
,ascii_escape_default
, ... ?std::ascii::escape_default
? (That is, all ofstd::ascii
.)The text was updated successfully, but these errors were encountered: