Merge pull request #3251 from fsouza/to_digit_fix
libcore: fix doc for char::to_digit
This commit is contained in:
commit
48a4bca066
@ -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
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user