Skip to content

Commit 4ac348b

Browse files
committed
Fix doc comment in lint declaration
1 parent 3b58d66 commit 4ac348b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/manual_async_fn.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ declare_clippy_lint! {
2323
/// ```rust
2424
/// use std::future::Future;
2525
///
26-
/// fn foo() -> Future<Output = i32> { async { 42 } }
26+
/// fn foo() -> impl Future<Output = i32> { async { 42 } }
2727
/// ```
2828
/// Use instead:
2929
/// ```rust

0 commit comments

Comments
 (0)