mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 13:43:17 +00:00
Un-ingnore code snippets
This commit is contained in:
parent
1f930452b9
commit
9f618b196a
1 changed files with 2 additions and 2 deletions
|
@ -68,13 +68,13 @@ declare_clippy_lint! {
|
|||
/// and ignore the resulting value.
|
||||
///
|
||||
/// ### Example
|
||||
/// ```rust,ignore
|
||||
/// ```rust
|
||||
/// async fn foo() -> Result<(), ()> { }
|
||||
/// let _ = foo();
|
||||
/// ```
|
||||
///
|
||||
/// Use instead:
|
||||
/// ```rust,ignore
|
||||
/// ```rust
|
||||
/// let _ = foo().await;
|
||||
/// ```
|
||||
#[clippy::version = "1.66"]
|
||||
|
|
Loading…
Reference in a new issue