Skip to content
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

libs: stabilize ascii module #19194

Merged
merged 2 commits into from
Nov 23, 2014
Merged

libs: stabilize ascii module #19194

merged 2 commits into from
Nov 23, 2014

Conversation

aturon
Copy link
Member

@aturon aturon commented Nov 21, 2014

This is an initial API stabilization pass for std::ascii. Aside from
some renaming to match conversion conventions, and deprecations in favor
of using iterators directly, almost nothing is changed here. However,
the static case conversion tables that were previously public are now private.

The stabilization of the (rather large!) set of extension traits is left
to a follow-up pass, because we hope to land some more general machinery
that will provide the same functionality without custom traits.

[breaking-change]

@@ -103,26 +126,30 @@ impl Ascii {
(self.chr - 0x20) < 0x5F
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Were the is_graph and is_print methods skipped intentionally? (right above this diff location)

This is an initial API stabilization pass for `std::ascii`. Aside from
some renaming to match conversion conventions, and deprecations in favor
of using iterators directly, almost nothing is changed here. However,
the static case conversion tables that were previously public are now private.

The stabilization of the (rather large!) set of extension traits is left
to a follow-up pass, because we hope to land some more general machinery
that will provide the same functionality without custom traits.

[breaking-change]
alexcrichton added a commit to alexcrichton/rust that referenced this pull request Nov 22, 2014
This is an initial API stabilization pass for `std::ascii`. Aside from
some renaming to match conversion conventions, and deprecations in favor
of using iterators directly, almost nothing is changed here. However,
the static case conversion tables that were previously public are now private.

The stabilization of the (rather large!) set of extension traits is left
to a follow-up pass, because we hope to land some more general machinery
that will provide the same functionality without custom traits.

[breaking-change]
@bors bors merged commit 6733d8b into rust-lang:master Nov 23, 2014
@SimonSapin SimonSapin mentioned this pull request Nov 27, 2014
lnicola added a commit to lnicola/rust that referenced this pull request Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants