From ce1cf3efde5925da1dfbe134fe941bac95daa91d Mon Sep 17 00:00:00 2001 From: dullbananas Date: Mon, 27 May 2024 20:43:42 -0700 Subject: [PATCH] fix --- crates/db_schema/src/schema_setup/diff_check.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/db_schema/src/schema_setup/diff_check.rs b/crates/db_schema/src/schema_setup/diff_check.rs index 39dcba013..04ebbb5c5 100644 --- a/crates/db_schema/src/schema_setup/diff_check.rs +++ b/crates/db_schema/src/schema_setup/diff_check.rs @@ -232,7 +232,7 @@ fn sort_within_sections(vec: &mut [&T], mut section: impl FnMut vec.sort_unstable_by_key(|&i| (section(i), i)); } -fn chunks(diff: &str) -> impl Iterator { +fn chunks(dump: &str) -> impl Iterator { let mut remaining = dump; std::iter::from_fn(move || { remaining = remaining.trim_start();