diff --git a/clippy_lints/src/from_str_radix_10.rs b/clippy_lints/src/from_str_radix_10.rs index 9a8d4542616..53cb1e3ecd9 100644 --- a/clippy_lints/src/from_str_radix_10.rs +++ b/clippy_lints/src/from_str_radix_10.rs @@ -19,12 +19,12 @@ declare_clippy_lint! { /// /// **Example:** /// - /// ```rust + /// ```ignore /// let input: &str = get_input(); /// let num = u16::from_str_radix(input, 10)?; /// ``` /// Use instead: - /// ```rust + /// ```ignore /// let input: &str = get_input(); /// let num: u16 = input.parse()?; /// ```