mirror of https://github.com/rust-lang/rust.git
Rollup merge of #100345 - vincenzopalazzo:macros/is_number_doc, r=joshtriplett
docs: remove repetition in `is_numeric` function docs In https://github.com/rust-lang/rust/pull/99628 we introduce new docs for the `is_numeric` function, and this is a follow-up PR that removes some unnecessary repetition that may be introduced by some rebasing. `@rustbot` r? `@joshtriplett`
This commit is contained in:
commit
3b97de6b1b
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue