Close code block in docstring

This commit is contained in:
Georg Brandl 2016-08-08 13:34:21 +02:00
parent cdfa8e9f61
commit c4dad550f7

View File

@ -19,6 +19,7 @@ use utils::{span_lint_and_then, in_macro, snippet_opt, SpanlessEq};
/// ```rust
/// if a && true // should be: if a
/// if !(a == b) // should be: if a != b
/// ```
declare_lint! {
pub NONMINIMAL_BOOL,
Allow,