We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 594de02 commit f74b116Copy full SHA for f74b116
compiler/rustc_ast/src/ast.rs
@@ -2610,14 +2610,6 @@ impl CoroutineKind {
2610
}
2611
2612
2613
- pub fn is_async(self) -> bool {
2614
- matches!(self, CoroutineKind::Async { .. })
2615
- }
2616
-
2617
- pub fn is_gen(self) -> bool {
2618
- matches!(self, CoroutineKind::Gen { .. })
2619
2620
2621
pub fn closure_id(self) -> NodeId {
2622
match self {
2623
CoroutineKind::Async { closure_id, .. }
0 commit comments