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();