Skip to content

Commit

Permalink
Auto merge of rust-lang#13274 - Alexendoo:from-str-radix-10-docs, r=x…
Browse files Browse the repository at this point in the history
…Frednet

Fix code snippet in from_str_radix_10 docs

`<expression>` was being treated as an opening HTML tag

changelog: none
  • Loading branch information
bors committed Aug 16, 2024
2 parents 5da97d0 + c037361 commit 68b222e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clippy_lints/src/from_str_radix_10.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 68b222e

Please sign in to comment.