From 3f3b8e31caae3698425c83fac326fb80912885f6 Mon Sep 17 00:00:00 2001 From: dullbananas Date: Thu, 23 May 2024 06:48:05 -0700 Subject: [PATCH] fmt --- crates/db_schema/src/schema_setup/diff_check.rs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/crates/db_schema/src/schema_setup/diff_check.rs b/crates/db_schema/src/schema_setup/diff_check.rs index a30c0c0c2..aa86c0a36 100644 --- a/crates/db_schema/src/schema_setup/diff_check.rs +++ b/crates/db_schema/src/schema_setup/diff_check.rs @@ -5,8 +5,8 @@ use std::{ process::{Command, Stdio}, }; -// It's not possible to call `export_snapshot()` for each dump and run the dumps in parallel with the -// `--snapshot` flag. Don't waste your time!!!! +// It's not possible to call `export_snapshot()` for each dump and run the dumps in parallel with +// the `--snapshot` flag. Don't waste your time!!!! pub fn get_dump() -> String { let output = Command::new("pg_dump") @@ -44,7 +44,8 @@ pub fn check_dump_diff(before: String, after: String, label: &str) { // Remove identical items .map(|dump| chunks(dump).collect::>()) .differences() - // Remove items without unwanted types of differences (if migrations are correct, then this removes everything) + // Remove items without unwanted types of differences (if migrations are correct, then this + // removes everything) .map(|chunks| chunks.map(|&i| normalize_chunk(i)).collect::>()); let [only_in_before, only_in_after] = normalized_chunk_vecs