fix or ignore failing doc tests

This commit is contained in:
Andy Russell
2019-03-05 17:23:50 -05:00
parent fe96ffeac9
commit a9de64a151
44 changed files with 137 additions and 127 deletions

View File

@@ -15,13 +15,13 @@ declare_clippy_lint! {
/// **Known problems:** None
///
/// **Example:**
/// ```rust
/// assert!(false)
/// ```no_run
/// assert!(false);
/// // or
/// assert!(true)
/// assert!(true);
/// // or
/// const B: bool = false;
/// assert!(B)
/// assert!(B);
/// ```
pub ASSERTIONS_ON_CONSTANTS,
style,