1
Fork 0

Merge commit '0cce3f643b' into clippyup

This commit is contained in:
flip1995 2021-07-29 12:16:06 +02:00
parent 5331fea875
commit 2b20f49841
283 changed files with 3436 additions and 3113 deletions

View file

@ -7,15 +7,14 @@ use rustc_lint::{LateContext, LateLintPass};
use rustc_session::{declare_lint_pass, declare_tool_lint};
declare_clippy_lint! {
/// **What it does:** Checks for async blocks that yield values of types
/// ### What it does
/// Checks for async blocks that yield values of types
/// that can themselves be awaited.
///
/// **Why is this bad?** An await is likely missing.
///
/// **Known problems:** None.
///
/// **Example:**
/// ### Why is this bad?
/// An await is likely missing.
///
/// ### Example
/// ```rust
/// async fn foo() {}
///