Skip to content

Commit 48a4bca

Browse files
committed
Merge pull request #3251 from fsouza/to_digit_fix
libcore: fix doc for char::to_digit
2 parents 91c652b + 493117d commit 48a4bca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/char.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ pure fn is_digit(c: char) -> bool {
107107
*
108108
* # Safety note
109109
*
110-
* This function fails if `c` is not a valid char
110+
* This function returns none if `c` is not a valid char
111111
*
112112
* # Return value
113113
*

0 commit comments

Comments
 (0)