Skip to content

Added is_control() function, method, tests, and documentation. #9455

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

Merged
merged 1 commit into from
Sep 25, 2013
Merged

Added is_control() function, method, tests, and documentation. #9455

merged 1 commit into from
Sep 25, 2013

Conversation

jesseray
Copy link

In "/src/libstd/char.rs", there are function and method definitions for is_lowercase(), is_uppercase(), is_whitespace(), etc. However, there was no function or method for control characters, so I added the is_control() function and method definitions along with documentation and tests. Running ./configure && make check shows that all tests for is_control() pass.

bors added a commit that referenced this pull request Sep 25, 2013
In "/src/libstd/char.rs", there are function and method definitions for `is_lowercase()`, `is_uppercase()`, `is_whitespace()`, etc. However, there was no function or method for control characters, so I added the `is_control()` function and method definitions along with documentation and tests. Running `./configure && make check` shows that all tests for `is_control()` pass.
@bors bors closed this Sep 25, 2013
@bors bors merged commit 13571af into rust-lang:master Sep 25, 2013
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.

2 participants