Doctests: Fix all complexity lint docs

cc #4319
This commit is contained in:
Philipp Hansch
2019-08-02 08:13:54 +02:00
parent 18a7dce4da
commit abfa8a952c
33 changed files with 155 additions and 83 deletions

View File

@@ -184,7 +184,7 @@ declare_clippy_lint! {
/// **Known problems:** None.
///
/// **Example:**
/// ```rust
/// ```rust,ignore
/// f() && g(); // We should write `if f() { g(); }`.
/// ```
pub SHORT_CIRCUIT_STATEMENT,