Skip to content

Conversation

ebiggers
Copy link
Contributor

is_digit() incorrectly returned false for '0'.
is_control() incorrectly returned true for ' ' (space).

is_digit() incorrectly returned false for '0'.
is_control() incorrectly returned true for ' ' (space).
@alexcrichton
Copy link
Member

Can you add tests for these two edge cases as well?

@ebiggers
Copy link
Contributor Author

Done. I added tests for a few other edge cases in those functions as well.

bors added a commit that referenced this pull request Nov 27, 2013
is_digit() incorrectly returned false for '0'.
is_control() incorrectly returned true for ' ' (space).
@bors bors closed this Nov 27, 2013
@bors bors merged commit 6488324 into rust-lang:master Nov 27, 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.

3 participants