Skip to content

Commit

Permalink
Fix typo (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonadern authored Sep 12, 2024
1 parent 1cf54a1 commit 244e7c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/uroborosql-fmt/src/visitor/statement/insert.rs
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ impl Visitor {
)));
}
// 括弧付きSELECT
let selct_sub = self.visit_select_subexpr(cursor, src)?;
let select_sub = self.visit_select_subexpr(cursor, src)?;

insert_body.set_paren_query(Expr::Sub(Box::new(selct_sub)));
insert_body.set_paren_query(Expr::Sub(Box::new(select_sub)));

cursor.goto_next_sibling();
}
Expand Down

0 comments on commit 244e7c8

Please sign in to comment.