From 3d45c9137eb138e7e0515363e9059d36d29955e0 Mon Sep 17 00:00:00 2001 From: mo khan Date: Thu, 25 Sep 2025 09:30:34 -0600 Subject: refactor: rename function --- src/formatter.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/formatter.rs b/src/formatter.rs index c6f3dbc..aad57ec 100644 --- a/src/formatter.rs +++ b/src/formatter.rs @@ -366,7 +366,7 @@ fn format_expr(expr: &Expr) -> String { conditions, else_result, .. - } => format_case_expr_new(operand, conditions, else_result), + } => format_case_expr(operand, conditions, else_result), Expr::Function(function) => format_function(function), Expr::Subquery(query) => { let mut result = String::new(); @@ -430,7 +430,7 @@ fn format_expr(expr: &Expr) -> String { } } -fn format_case_expr_new( +fn format_case_expr( operand: &Option>, conditions: &Vec, else_result: &Option>, -- cgit v1.2.3