Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lemonadern committed Sep 11, 2024
1 parent 38fd08b commit 0151c16
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 @@ -156,9 +156,9 @@ impl Visitor {
}
"select_subexpression" => {
// 括弧付き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 0151c16

Please sign in to comment.