Merge pull request #3251 from fsouza/to_digit_fix

libcore: fix doc for char::to_digit
This commit is contained in:
Brian Anderson 2012-08-22 15:13:59 -07:00
commit 48a4bca066

View File

@ -107,7 +107,7 @@ pure fn is_digit(c: char) -> bool {
*
* # Safety note
*
* This function fails if `c` is not a valid char
* This function returns none if `c` is not a valid char
*
* # Return value
*