Skip to content

Commit c4b8d87

Browse files
Fixed the known problems section
1 parent bf55aee commit c4b8d87

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clippy_lints/src/from_str_radix_10.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ declare_clippy_lint! {
1919
/// (and in most cases, the turbofish can be removed), which reduces code length
2020
/// and complexity.
2121
///
22-
/// **Known problems:** None.
22+
/// **Known problems:**
23+
/// This lint may suggest using (&<expression>).parse() instead of <expression>.parse() directly
24+
/// in some cases, which is correct but adds unnecessary complexity to the code.
2325
///
2426
/// **Example:**
2527
///

0 commit comments

Comments
 (0)