Skip to content

Commit 86279e8

Browse files
Lenny222marijnh
Lenny222
authored andcommitted
typo
1 parent 1741ef7 commit 86279e8

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
@@ -122,7 +122,7 @@ pure fn to_digit(c: char) -> u8 unsafe {
122122
}
123123

124124
/*
125-
Function: to_digit
125+
Function: maybe_digit
126126
127127
Convert a char to the corresponding digit. Returns none when the
128128
character is not a valid hexadecimal digit.

0 commit comments

Comments
 (0)