about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorBrian Anderson <andersrb@gmail.com>2012-08-22 15:13:59 -0700
committerBrian Anderson <andersrb@gmail.com>2012-08-22 15:13:59 -0700
commit48a4bca0665f42991c0958818fd5597014e1129f (patch)
tree34b835e99c6108f7ee089be84c47c98b44144f42 /src
parent91c652b1ca30e4e662c19f6e4587d81fda67b925 (diff)
parent493117dcdad6ceb745bb4c4830533606928f05b2 (diff)
downloadrust-48a4bca0665f42991c0958818fd5597014e1129f.tar.gz
rust-48a4bca0665f42991c0958818fd5597014e1129f.zip
Merge pull request #3251 from fsouza/to_digit_fix
libcore: fix doc for char::to_digit
Diffstat (limited to 'src')
-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
  *