diff options
| author | Arpad Borsos <swatinem@swatinem.de> | 2022-11-26 21:33:12 +0100 |
|---|---|---|
| committer | Arpad Borsos <swatinem@swatinem.de> | 2022-11-28 23:12:01 +0100 |
| commit | 2db0dc32970a70bcf622e0854c944753a065cb15 (patch) | |
| tree | aac0904e2dda68df188d8cda04abe9c3feaa5fbf /compiler/rustc_codegen_llvm/src/common.rs | |
| parent | 8a09420ac48658cad726e0a6997687ceac4151e3 (diff) | |
| download | rust-2db0dc32970a70bcf622e0854c944753a065cb15.tar.gz rust-2db0dc32970a70bcf622e0854c944753a065cb15.zip | |
Simplify checking for `GeneratorKind::Async`
Adds a helper method around `generator_kind` that makes matching async constructs simpler.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/common.rs')
0 files changed, 0 insertions, 0 deletions
