From b4bf685fc076c9ed89d5c1da30de21e7e3916554 Mon Sep 17 00:00:00 2001 From: Denis Smirnov <sd@picodata.io> Date: Sun, 10 Apr 2022 12:39:16 +0700 Subject: [PATCH] doc: fix spelling --- src/ir/transformation/helpers.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ir/transformation/helpers.rs b/src/ir/transformation/helpers.rs index 9f76b45a8e..dd6e28ff47 100644 --- a/src/ir/transformation/helpers.rs +++ b/src/ir/transformation/helpers.rs @@ -5,7 +5,7 @@ use crate::executor::ir::ExecutionPlan; use crate::frontend::sql::ast::AbstractSyntaxTree; use crate::ir::Plan; -/// Compile an SQL query to IR plan. +/// Compiles an SQL query to IR plan. #[allow(dead_code)] pub fn sql_to_ir(input: &str) -> Plan { let metadata = &MetadataMock::new(); @@ -14,7 +14,7 @@ pub fn sql_to_ir(input: &str) -> Plan { plan } -/// Compile and transform an SQL query to a new SQL. +/// Compiles and transforms an SQL query to a new SQL. #[allow(dead_code)] pub fn sql_to_sql(input: &str, f_transform: &dyn Fn(&mut Plan)) -> String { let mut plan = sql_to_ir(input); -- GitLab