Skip to content

Commit 68b222e

Browse files
committed
Auto merge of rust-lang#13274 - Alexendoo:from-str-radix-10-docs, r=xFrednet
Fix code snippet in from_str_radix_10 docs `<expression>` was being treated as an opening HTML tag changelog: none
2 parents 5da97d0 + c037361 commit 68b222e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/from_str_radix_10.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@ declare_clippy_lint! {
2222
///
2323
/// ### Known problems
2424
///
25-
/// This lint may suggest using (&<expression>).parse() instead of <expression>.parse() directly
26-
/// in some cases, which is correct but adds unnecessary complexity to the code.
25+
/// This lint may suggest using `(&<expression>).parse()` instead of `<expression>.parse()`
26+
/// directly in some cases, which is correct but adds unnecessary complexity to the code.
2727
///
2828
/// ### Example
2929
/// ```ignore

0 commit comments

Comments
 (0)