Fix comment for async closure variant

This commit is contained in:
Wei Liu 2022-05-06 14:59:40 +00:00
parent 7f9e013ba6
commit 85e688e4c3

View file

@ -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.