We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b58d66 commit 4ac348bCopy full SHA for 4ac348b
clippy_lints/src/manual_async_fn.rs
@@ -23,7 +23,7 @@ declare_clippy_lint! {
23
/// ```rust
24
/// use std::future::Future;
25
///
26
- /// fn foo() -> Future<Output = i32> { async { 42 } }
+ /// fn foo() -> impl Future<Output = i32> { async { 42 } }
27
/// ```
28
/// Use instead:
29
0 commit comments