From c4b8d87ab96cb6ef44685d928adeb9915b06f71f Mon Sep 17 00:00:00 2001 From: bool Date: Fri, 19 Feb 2021 22:00:23 +0200 Subject: [PATCH] Fixed the known problems section --- clippy_lints/src/from_str_radix_10.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/clippy_lints/src/from_str_radix_10.rs b/clippy_lints/src/from_str_radix_10.rs index d0a170acb4fe..0933f9830147 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 (&).parse() instead of .parse() directly + /// in some cases, which is correct but adds unnecessary complexity to the code. /// /// **Example:** ///