about summary refs log tree commit diff
path: root/compiler
diff options
context:
space:
mode:
Diffstat (limited to 'compiler')
-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 0e14a0e4346..e39ddd8f284 100644
--- a/compiler/rustc_hir/src/hir.rs
+++ b/compiler/rustc_hir/src/hir.rs
@@ -1568,7 +1568,7 @@ impl CoroutineSource {
         match self {
             CoroutineSource::Block => "`async` block",
             CoroutineSource::Closure => "`async` closure body",
-            CoroutineSource::Fn => "`async fn` body",
+            CoroutineSource::Fn => "`async` fn body",
         }
     }
 }