Skip to content

Commit 85e688e

Browse files
committed
Fix comment for async closure variant
1 parent 7f9e013 commit 85e688e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir/src/hir.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1441,7 +1441,7 @@ pub enum AsyncGeneratorKind {
14411441
/// An explicit `async` block written by the user.
14421442
Block,
14431443

1444-
/// An explicit `async` block written by the user.
1444+
/// An explicit `async` closure written by the user.
14451445
Closure,
14461446

14471447
/// The `async` block generated as the body of an async function.

0 commit comments

Comments
 (0)