about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincenzo Palazzo <vincenzopalazzodev@gmail.com>2022-08-09 21:52:22 +0000
committerVincenzo Palazzo <vincenzopalazzodev@gmail.com>2022-08-09 21:54:05 +0000
commit23bd7cbcb13bdbeec8968d45d63e322c44ce4db2 (patch)
tree18e2b01eb9520dfb960dd130672ed197921e0630
parent63e4312e6bd50ec9859c363402209809fb8155d5 (diff)
downloadrust-23bd7cbcb13bdbeec8968d45d63e322c44ce4db2.tar.gz
rust-23bd7cbcb13bdbeec8968d45d63e322c44ce4db2.zip
docs: remove repetition
Signed-off-by: Vincenzo Palazzo <vincenzopalazzodev@gmail.com>
-rw-r--r--library/core/src/char/methods.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/library/core/src/char/methods.rs b/library/core/src/char/methods.rs
index eae567cad00..2433139a592 100644
--- a/library/core/src/char/methods.rs
+++ b/library/core/src/char/methods.rs
@@ -892,8 +892,7 @@ impl char {
     ///
     /// The general categories for numbers (`Nd` for decimal digits, `Nl` for letter-like numeric
     /// characters, and `No` for other numeric characters) are specified in the [Unicode Character
-    /// Database][ucd] [`UnicodeData.txt`]. Note that this means ideographic numbers like '三'
-    /// are considered alphabetic, not numeric. Please consider to use `is_ascii_digit` or `is_digit`.
+    /// Database][ucd] [`UnicodeData.txt`].
     ///
     /// This method doesn't cover everything that could be considered a number, e.g. ideographic numbers like '三'.
     /// If you want everything including characters with overlapping purposes then you might want to use