about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbool <booleancoercion@gmail.com>2021-02-19 22:00:23 +0200
committerbool <booleancoercion@gmail.com>2021-02-19 22:00:23 +0200
commitc4b8d87ab96cb6ef44685d928adeb9915b06f71f (patch)
tree920e043a47b47aeed97cbfa2e038239189b84802
parentbf55aee7b142ad14d102de3260e314a84bf8c35c (diff)
downloadrust-c4b8d87ab96cb6ef44685d928adeb9915b06f71f.tar.gz
rust-c4b8d87ab96cb6ef44685d928adeb9915b06f71f.zip
Fixed the known problems section
-rw-r--r--clippy_lints/src/from_str_radix_10.rs4
1 files changed, 3 insertions, 1 deletions
diff --git a/clippy_lints/src/from_str_radix_10.rs b/clippy_lints/src/from_str_radix_10.rs
index d0a170acb4f..0933f983014 100644
--- a/clippy_lints/src/from_str_radix_10.rs
+++ b/clippy_lints/src/from_str_radix_10.rs
@@ -19,7 +19,9 @@ declare_clippy_lint! {
     /// (and in most cases, the turbofish can be removed), which reduces code length
     /// and complexity.
     ///
-    /// **Known problems:** None.
+    /// **Known problems:**
+    /// This lint may suggest using (&<expression>).parse() instead of <expression>.parse() directly
+    /// in some cases, which is correct but adds unnecessary complexity to the code.
     ///
     /// **Example:**
     ///