about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMuhammad Hamza <muhammadhamza1311@gmail.com>2022-07-01 00:14:38 +0500
committerGitHub <noreply@github.com>2022-07-01 00:14:38 +0500
commita2b8a67777500139ba36d07d21f7e543e9c0f65c (patch)
tree95f33827d0f99a48f9dcb1228ee2865e838cc6b0
parent2d0195986c6695c63db73ddf20bcd69a9642a189 (diff)
downloadrust-a2b8a67777500139ba36d07d21f7e543e9c0f65c.tar.gz
rust-a2b8a67777500139ba36d07d21f7e543e9c0f65c.zip
Fix broken hyperlink
-rw-r--r--clippy_lints/src/methods/mod.rs9
1 files changed, 3 insertions, 6 deletions
diff --git a/clippy_lints/src/methods/mod.rs b/clippy_lints/src/methods/mod.rs
index 9bb7bb7a7ab..cc1530f0ed0 100644
--- a/clippy_lints/src/methods/mod.rs
+++ b/clippy_lints/src/methods/mod.rs
@@ -2196,12 +2196,9 @@ declare_clippy_lint! {
 
 declare_clippy_lint! {
     /// ### What it does
-    /// Finds usages of [`char::is_digit`]
-    /// (https://doc.rust-lang.org/stable/std/primitive.char.html#method.is_digit) that
-    /// can be replaced with [`is_ascii_digit`]
-    /// (https://doc.rust-lang.org/stable/std/primitive.char.html#method.is_ascii_digit) or
-    /// [`is_ascii_hexdigit`]
-    /// (https://doc.rust-lang.org/stable/std/primitive.char.html#method.is_ascii_hexdigit).
+    /// Finds usages of [`char::is_digit`](https://doc.rust-lang.org/stable/std/primitive.char.html#method.is_digit) that
+    /// can be replaced with [`is_ascii_digit`](https://doc.rust-lang.org/stable/std/primitive.char.html#method.is_ascii_digit) or
+    /// [`is_ascii_hexdigit`](https://doc.rust-lang.org/stable/std/primitive.char.html#method.is_ascii_hexdigit).
     ///
     /// ### Why is this bad?
     /// `is_digit(..)` is slower and requires specifying the radix.