diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-10-25 16:26:36 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-10-25 16:37:14 +0000 |
| commit | 92b41eeee6ffef609e2216dd145c88ba0fb14102 (patch) | |
| tree | 3c7ee1757b0498d8d6e66657d2f6590e7e8be5b5 /compiler/rustc_hir/src/hir.rs | |
| parent | af8a998b1ed2ed39f9c5514131f364f3fc163990 (diff) | |
| download | rust-92b41eeee6ffef609e2216dd145c88ba0fb14102.tar.gz rust-92b41eeee6ffef609e2216dd145c88ba0fb14102.zip | |
Rename in preparation for moving the `async` printing out of `CoroutineSource`
Diffstat (limited to 'compiler/rustc_hir/src/hir.rs')
| -rw-r--r-- | compiler/rustc_hir/src/hir.rs | 2 |
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", } } } |
