From b7b5a55e540bf6e211127a9707f2b5ea8a74e8c2 Mon Sep 17 00:00:00 2001 From: Bruce Ritchie Date: Thu, 12 Dec 2024 16:39:14 -0500 Subject: [PATCH] Cargo clippy. Signed-off-by: Bruce Ritchie --- sqllogictest/src/runner.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sqllogictest/src/runner.rs b/sqllogictest/src/runner.rs index 792dd2a..ea2734a 100644 --- a/sqllogictest/src/runner.rs +++ b/sqllogictest/src/runner.rs @@ -1038,8 +1038,8 @@ impl> Runner { let actual_results = match self.result_mode { Some(ResultMode::ValueWise) => rows - .into_iter() - .flat_map(|strs| strs.into_iter()) + .iter() + .flat_map(|strs| strs.iter()) .map(|str| vec![str.to_string()]) .collect_vec(), // default to rowwise