Doctests: Enable running doc tests for pedantic lints
This commit is contained in:
parent
5c1e30ab05
commit
1dc9a5012e
16 changed files with 73 additions and 27 deletions
|
@ -27,6 +27,8 @@ declare_clippy_lint! {
|
|||
/// Could be written:
|
||||
///
|
||||
/// ```rust
|
||||
/// # use std::convert::TryFrom;
|
||||
/// # let foo = 1;
|
||||
/// # let _ =
|
||||
/// i32::try_from(foo).is_ok()
|
||||
/// # ;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue