Skip to content

Conversation

SimonSapin
Copy link
Contributor

Follow-up on #4473 and #4477, especially @graydon’s comment.

catamorphism added a commit that referenced this pull request Jan 20, 2013
repr: represent char values as char literals rather than integers.
@catamorphism catamorphism merged commit a438bdc into rust-lang:incoming Jan 20, 2013
@catamorphism
Copy link
Contributor

Thanks!

@SimonSapin
Copy link
Contributor Author

As pointed out on IRC this probably needs a test, but I’m not sure how to change or even run libcore’s test suite. Is there related documentation?

@jdm
Copy link
Contributor

jdm commented Jan 23, 2013

@sanxiyn
Copy link
Contributor

sanxiyn commented Jan 23, 2013

In this case, there is test_repr function at the end of libcore/repr.rs file. I'd just add a case for char values.

@SimonSapin SimonSapin deleted the char-repr branch June 4, 2014 23:22
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.

4 participants