Skip to content

Commit 9194c11

Browse files
Fixed doctests that shouldn't have been compiled
1 parent d1a627a commit 9194c11

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
@@ -19,12 +19,12 @@ declare_clippy_lint! {
1919
///
2020
/// **Example:**
2121
///
22-
/// ```rust
22+
/// ```ignore
2323
/// let input: &str = get_input();
2424
/// let num = u16::from_str_radix(input, 10)?;
2525
/// ```
2626
/// Use instead:
27-
/// ```rust
27+
/// ```ignore
2828
/// let input: &str = get_input();
2929
/// let num: u16 = input.parse()?;
3030
/// ```

0 commit comments

Comments
 (0)