From aa4674dac18fdc632f3705bdefbd819c7fe74ceb Mon Sep 17 00:00:00 2001 From: sslivkoff Date: Mon, 13 May 2024 16:06:09 -0700 Subject: [PATCH] fix clippy warning --- crates/freeze/src/types/files.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/freeze/src/types/files.rs b/crates/freeze/src/types/files.rs index 883bcefd..5ce520a7 100644 --- a/crates/freeze/src/types/files.rs +++ b/crates/freeze/src/types/files.rs @@ -51,7 +51,7 @@ impl FileOutput { }; for meta_datatype in meta_datatypes.iter() { for datatype in meta_datatype.datatypes().into_iter() { - if query.schemas.get(&datatype).is_some() { + if query.schemas.contains_key(&datatype) { paths.insert(datatype, self.get_path(query, partition, datatype)?); } }