From 86279e86930704efc580097bfaf53c4fca6d78b2 Mon Sep 17 00:00:00 2001 From: Lenny222 Date: Mon, 2 Jan 2012 14:03:06 +0100 Subject: [PATCH] typo --- src/libcore/char.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/char.rs b/src/libcore/char.rs index 815637b1a423..40c4033066e3 100644 --- a/src/libcore/char.rs +++ b/src/libcore/char.rs @@ -122,7 +122,7 @@ pure fn to_digit(c: char) -> u8 unsafe { } /* - Function: to_digit + Function: maybe_digit Convert a char to the corresponding digit. Returns none when the character is not a valid hexadecimal digit.