Skip to content

Commit abe2b2f

Browse files
committed
Remove code in comments
1 parent d13a184 commit abe2b2f

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

sqlx-core/src/logger.rs

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -108,15 +108,7 @@ impl QueryLogger {
108108

109109
let sql = if summary != self.sql.as_str() {
110110
summary.push_str(" …");
111-
format!(
112-
"\n\n{}\n",
113-
self.sql.as_str() /*
114-
sqlformat::format(
115-
self.sql,
116-
&sqlformat::QueryParams::None,
117-
sqlformat::FormatOptions::default()
118-
)*/
119-
)
111+
format!("\n\n{}\n", self.sql.as_str())
120112
} else {
121113
String::new()
122114
};

0 commit comments

Comments
 (0)