Rename AsyncCoroutineKind
to CoroutineSource
similar to how we have `MatchSource`, it explains where the desugaring came from.
This commit is contained in:
parent
eb03d40a9c
commit
af8a998b1e
19 changed files with 59 additions and 59 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue