Skip to content

Commit 6177a4f

Browse files
committed
Auto merge of rust-lang#9078 - hamza1311:patch-1, r=xFrednet
Fix broken hyperlink in documentation changelog: none The hyperlinks in [`is_digit_ascii_radix`](https://rust-lang.github.io/rust-clippy/master/index.html#is_digit_ascii_radix)'s docs are broken. This PR fixes those.
2 parents 2d01959 + a2b8a67 commit 6177a4f

File tree

1 file changed

+3
-6
lines changed
  • clippy_lints/src/methods

1 file changed

+3
-6
lines changed

clippy_lints/src/methods/mod.rs

+3-6
Original file line numberDiff line numberDiff line change
@@ -2196,12 +2196,9 @@ declare_clippy_lint! {
21962196

21972197
declare_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.

0 commit comments

Comments
 (0)