File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -2196,12 +2196,9 @@ declare_clippy_lint! {
21962196
21972197declare_clippy_lint ! {
21982198 /// ### What it does
2199- /// Finds usages of [`char::is_digit`]
2200- /// (https://doc.rust-lang.org/stable/std/primitive.char.html#method.is_digit) that
2201- /// can be replaced with [`is_ascii_digit`]
2202- /// (https://doc.rust-lang.org/stable/std/primitive.char.html#method.is_ascii_digit) or
2203- /// [`is_ascii_hexdigit`]
2204- /// (https://doc.rust-lang.org/stable/std/primitive.char.html#method.is_ascii_hexdigit).
2199+ /// Finds usages of [`char::is_digit`](https://doc.rust-lang.org/stable/std/primitive.char.html#method.is_digit) that
2200+ /// can be replaced with [`is_ascii_digit`](https://doc.rust-lang.org/stable/std/primitive.char.html#method.is_ascii_digit) or
2201+ /// [`is_ascii_hexdigit`](https://doc.rust-lang.org/stable/std/primitive.char.html#method.is_ascii_hexdigit).
22052202 ///
22062203 /// ### Why is this bad?
22072204 /// `is_digit(..)` is slower and requires specifying the radix.
You can’t perform that action at this time.
0 commit comments