1
Fork 0

Rename AsyncCoroutineKind to CoroutineSource

similar to how we have `MatchSource`, it explains where the desugaring came from.
This commit is contained in:
Oli Scherer 2023-10-23 17:02:40 +00:00
parent eb03d40a9c
commit af8a998b1e
19 changed files with 59 additions and 59 deletions

View file

@ -135,12 +135,12 @@ pub enum UnOp {
#[derive(Clone, Debug)]
pub enum CoroutineKind {
Async(AsyncCoroutineKind),
Async(CoroutineSource),
Coroutine,
}
#[derive(Clone, Debug)]
pub enum AsyncCoroutineKind {
pub enum CoroutineSource {
Block,
Closure,
Fn,