From 0151c16e0594249ac273dfb9c864ddda1b3f4124 Mon Sep 17 00:00:00 2001 From: Taishi Naka Date: Wed, 11 Sep 2024 18:27:22 +0900 Subject: [PATCH] fix typo --- crates/uroborosql-fmt/src/visitor/statement/insert.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/uroborosql-fmt/src/visitor/statement/insert.rs b/crates/uroborosql-fmt/src/visitor/statement/insert.rs index bde6532..4033319 100644 --- a/crates/uroborosql-fmt/src/visitor/statement/insert.rs +++ b/crates/uroborosql-fmt/src/visitor/statement/insert.rs @@ -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(); }