We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1512d37 commit 62f7337Copy full SHA for 62f7337
clippy_utils/src/ast_utils.rs
@@ -566,7 +566,8 @@ pub fn eq_fn_sig(l: &FnSig, r: &FnSig) -> bool {
566
fn eq_opt_coroutine_kind(l: Option<CoroutineKind>, r: Option<CoroutineKind>) -> bool {
567
match (l, r) {
568
(Some(CoroutineKind::Async { .. }), Some(CoroutineKind::Async { .. }))
569
- | (Some(CoroutineKind::Gen { .. }), Some(CoroutineKind::Gen { .. })) => true,
+ | (Some(CoroutineKind::Gen { .. }), Some(CoroutineKind::Gen { .. }))
570
+ | (Some(CoroutineKind::AsyncGen { .. }), Some(CoroutineKind::AsyncGen { .. })) => true,
571
(None, None) => true,
572
_ => false,
573
}
0 commit comments