]> git.proxmox.com Git - rustc.git/blobdiff - tests/rustdoc-ui/error-in-impl-trait/closure.rs
New upstream version 1.75.0+dfsg1
[rustc.git] / tests / rustdoc-ui / error-in-impl-trait / closure.rs
index f1fd85bb23cb6cd8da4d9ca229ee6af5304122ba..628c61a6a1a8bb603d54b37ea86c20e1eccf0b42 100644 (file)
@@ -1,5 +1,5 @@
 // check-pass
-// manually desugared version of an `async fn` (but with a closure instead of a generator)
+// manually desugared version of an `async fn` (but with a closure instead of a coroutine)
 pub fn a() -> impl Fn() -> u32 {
     || content::doesnt::matter()
 }