about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/libcore/char.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/char.rs b/src/libcore/char.rs
index 85e87c9172b..5f4ce9ebd84 100644
--- a/src/libcore/char.rs
+++ b/src/libcore/char.rs
@@ -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
  *