From bb1c8b65e8a2ac5a3b1ea9ee01d088bff81b3791 Mon Sep 17 00:00:00 2001 From: jussisaurio Date: Sun, 6 Oct 2024 00:22:12 +0300 Subject: [PATCH] fmt --- core/translate/plan.rs | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/core/translate/plan.rs b/core/translate/plan.rs index ea181ef85..80463af4d 100644 --- a/core/translate/plan.rs +++ b/core/translate/plan.rs @@ -426,13 +426,25 @@ impl Display for Operator { }?; Ok(()) } - Operator::Search { table_identifier, search, .. } => { + Operator::Search { + table_identifier, + search, + .. + } => { match search { Search::PrimaryKeyEq { .. } | Search::PrimaryKeySearch { .. } => { - writeln!(f, "{}SEARCH {} USING INTEGER PRIMARY KEY (rowid=?)", indent, table_identifier)?; + writeln!( + f, + "{}SEARCH {} USING INTEGER PRIMARY KEY (rowid=?)", + indent, table_identifier + )?; } Search::IndexSearch { index, .. } => { - writeln!(f, "{}SEARCH {} USING INDEX {}", indent, table_identifier, index.name)?; + writeln!( + f, + "{}SEARCH {} USING INDEX {}", + indent, table_identifier, index.name + )?; } } Ok(())