My async compiler work got funded! So here's my first PR: https://github.com/rus...
Dion Dokter @diondokter@fosstodon.org
My async compiler work got funded!
So here's my first PR: https://github.com/rust-lang/rust/pull/162429
Roughly, it changes
match x {
true => foo(1).await,
false => foo(2).await,
}
to
match x {
true => foo(1),
false => foo(2),
}.await
This means the future will only have 1 state instead of 2