Skip to content

Commit b72c5d3

Browse files
committed
progress
1 parent 64e79d1 commit b72c5d3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

crates/pgt_workspace/src/workspace/server.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ impl Workspace for WorkspaceServer {
451451
if let Some(ast) = ast {
452452
pgt_typecheck::check_sql(TypecheckParams {
453453
conn: &pool,
454-
sql: &id.content(),
454+
sql: id.content(),
455455
ast: &ast,
456456
tree: &cst,
457457
schema_cache: schema_cache.as_ref(),

crates/pgt_workspace/src/workspace/server/document.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ where
167167
}
168168

169169
// Return the current statement if it passes the filter
170-
if self.filter.predicate(&root_id, &range, content) {
170+
if self.filter.predicate(&root_id, range, content) {
171171
return Some(self.mapper.map(self.parser, root_id, *range));
172172
}
173173

0 commit comments

Comments
 (0)