libcore: fix doc for char::to_digit

Closes #3249.
This commit is contained in:
Francisco Souza 2012-08-22 13:51:45 -03:00
parent 907f5b4672
commit 493117dcda

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
*