diff options
| author | Alex Macleod <alex@macleod.io> | 2024-08-16 15:28:42 +0000 |
|---|---|---|
| committer | Alex Macleod <alex@macleod.io> | 2024-08-16 15:28:42 +0000 |
| commit | c0373616d098fecd38b14b5e42f7d202964b363d (patch) | |
| tree | d1a2b215d9ca2436f24020b3cb2750b5429afc33 | |
| parent | 5da97d006e33a4458f467e41ca43085f5e5b20ba (diff) | |
| download | rust-c0373616d098fecd38b14b5e42f7d202964b363d.tar.gz rust-c0373616d098fecd38b14b5e42f7d202964b363d.zip | |
Fix code snippet in from_str_radix_10 docs
| -rw-r--r-- | clippy_lints/src/from_str_radix_10.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/clippy_lints/src/from_str_radix_10.rs b/clippy_lints/src/from_str_radix_10.rs index 6ab7bbc2dfc..e5fa67d6964 100644 --- a/clippy_lints/src/from_str_radix_10.rs +++ b/clippy_lints/src/from_str_radix_10.rs @@ -22,8 +22,8 @@ declare_clippy_lint! { /// /// ### 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. + /// 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 /// ```ignore |
