Fixed doctests that shouldn't have been compiled
This commit is contained in:
parent
d1a627ab3b
commit
9194c11d69
@ -19,12 +19,12 @@ declare_clippy_lint! {
|
|||||||
///
|
///
|
||||||
/// **Example:**
|
/// **Example:**
|
||||||
///
|
///
|
||||||
/// ```rust
|
/// ```ignore
|
||||||
/// let input: &str = get_input();
|
/// let input: &str = get_input();
|
||||||
/// let num = u16::from_str_radix(input, 10)?;
|
/// let num = u16::from_str_radix(input, 10)?;
|
||||||
/// ```
|
/// ```
|
||||||
/// Use instead:
|
/// Use instead:
|
||||||
/// ```rust
|
/// ```ignore
|
||||||
/// let input: &str = get_input();
|
/// let input: &str = get_input();
|
||||||
/// let num: u16 = input.parse()?;
|
/// let num: u16 = input.parse()?;
|
||||||
/// ```
|
/// ```
|
||||||
|
Loading…
x
Reference in New Issue
Block a user