Skip to content

Commit 1eb1140

Browse files
clean a bit
1 parent 2b37a87 commit 1eb1140

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

crates/hir-ty/src/infer/closure.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ impl<'db> InferenceContext<'_, 'db> {
131131
self.table.next_ty_var()
132132
}
133133
ClosureKind::Coroutine { kind: CoroutineKind::AsyncGen, .. } => {
134-
unimplemented!()
134+
todo!()
135135
}
136136
_ => unreachable!(),
137137
};
@@ -176,7 +176,9 @@ impl<'db> InferenceContext<'_, 'db> {
176176
let bound_yield_ty = match coroutine_kind {
177177
CoroutineKind::Async => self.types.types.unit,
178178
CoroutineKind::Gen => self.table.next_ty_var(),
179-
CoroutineKind::AsyncGen => unimplemented!(),
179+
CoroutineKind::AsyncGen => {
180+
todo!()
181+
}
180182
};
181183
// Compute all of the variables that will be used to populate the coroutine.
182184
let resume_ty = self.table.next_ty_var();

0 commit comments

Comments
 (0)