1
Fork 0

Doctests: Enable running doc tests for pedantic lints

This commit is contained in:
Philipp Hansch 2019-08-03 18:42:05 +02:00
parent 5c1e30ab05
commit 1dc9a5012e
No known key found for this signature in database
GPG key ID: 82AA61CAA11397E6
16 changed files with 73 additions and 27 deletions

View file

@ -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()
/// # ;