about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWei Liu <liuw@liuw.name>2022-05-06 14:59:40 +0000
committerWei Liu <liuw@liuw.name>2022-05-06 14:59:40 +0000
commit85e688e4c3c14df05b6430ae7d736ffc9180e9c7 (patch)
treea56c30ce9249aec25fd71aa0eb42e7a100f1886a
parent7f9e013ba62e7bf77a95ba29bcb2c5740b7b2059 (diff)
downloadrust-85e688e4c3c14df05b6430ae7d736ffc9180e9c7.tar.gz
rust-85e688e4c3c14df05b6430ae7d736ffc9180e9c7.zip
Fix comment for async closure variant
-rw-r--r--compiler/rustc_hir/src/hir.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir/src/hir.rs b/compiler/rustc_hir/src/hir.rs
index dfeee3f356f..9f3072e169c 100644
--- a/compiler/rustc_hir/src/hir.rs
+++ b/compiler/rustc_hir/src/hir.rs
@@ -1441,7 +1441,7 @@ pub enum AsyncGeneratorKind {
     /// An explicit `async` block written by the user.
     Block,
 
-    /// An explicit `async` block written by the user.
+    /// An explicit `async` closure written by the user.
     Closure,
 
     /// The `async` block generated as the body of an async function.