Skip to content

Commit

Permalink
fix: fix lints
Browse files Browse the repository at this point in the history
  • Loading branch information
jacek-prisma committed Jan 7, 2025
1 parent 0794925 commit f8a9a2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ impl FilterVisitor {

fn visit_nested_filter<T>(&mut self, parent_alias: Alias, f: impl FnOnce(&mut Self) -> T) -> T {
let mut nested_visitor = self.create_nested_visitor(parent_alias);
let res = f(&mut nested_visitor);

res
f(&mut nested_visitor)
}

fn visit_relation_filter_select(&mut self, filter: RelationFilter, ctx: &Context<'_>) -> Select<'static> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ impl SelectBuilder {
if supports_lateral_join(&args) {
LateralJoinSelectBuilder::default().build(args, selected_fields, ctx)
} else {
SubqueriesSelectBuilder::default().build(args, selected_fields, ctx)
SubqueriesSelectBuilder.build(args, selected_fields, ctx)
}
}
}
Expand Down

0 comments on commit f8a9a2b

Please sign in to comment.