From df57252b7c620cc2dc269a665a612d0908650bc8 Mon Sep 17 00:00:00 2001 From: Erik Taubeneck Date: Thu, 12 Dec 2024 13:10:06 -0800 Subject: [PATCH] swap unwrap with ? --- ipa-core/src/query/runner/hybrid.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/ipa-core/src/query/runner/hybrid.rs b/ipa-core/src/query/runner/hybrid.rs index 6afaf3f45..d9d2099fe 100644 --- a/ipa-core/src/query/runner/hybrid.rs +++ b/ipa-core/src/query/runner/hybrid.rs @@ -141,12 +141,8 @@ where ) .await?; - // this should use ? but until this returns a result, - //we want to capture the panic for the test let mut unique_encrypted_hybrid_reports = UniqueTagValidator::new(resharded_tags.len()); - unique_encrypted_hybrid_reports - .check_duplicates(&resharded_tags) - .unwrap(); + unique_encrypted_hybrid_reports.check_duplicates(&resharded_tags)?; let indistinguishable_reports: Vec> = decrypted_reports.into_iter().map(Into::into).collect();