Skip to content

Commit bcba5b3

Browse files
committed
format
1 parent 591a81b commit bcba5b3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

crates/pg_cli/src/commands/mod.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,8 @@ impl PgLspCommand {
229229
}
230230

231231
pub fn is_verbose(&self) -> bool {
232-
self.cli_options().is_some_and(|cli_options| cli_options.verbose)
232+
self.cli_options()
233+
.is_some_and(|cli_options| cli_options.verbose)
233234
}
234235

235236
pub fn log_level(&self) -> LoggingLevel {

crates/pg_type_resolver/src/types.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,7 @@ pub fn resolve_type(node: &pg_query_ext::NodeEnum, schema_cache: &SchemaCache) -
6363
.types
6464
.iter()
6565
.filter(|t| {
66-
(types.iter().any(|i| i == &t.name)
67-
&& t.schema == "pg_catalog")
66+
(types.iter().any(|i| i == &t.name) && t.schema == "pg_catalog")
6867
|| t.enums.values.contains(&v.sval)
6968
})
7069
.map(|t| t.id)

0 commit comments

Comments
 (0)