Skip to content

Commit

Permalink
fix: fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
can-keklik committed Aug 21, 2024
1 parent 762aa18 commit debdfeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions lykiadb-playground/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,7 @@ pub fn tokenize(source: &str) -> Result<JsValue, JsValue> {

let token_tree = Tree {
name: "Program".to_owned(),
children: Some(
tokens
.into_iter()
.map(TreeBuilder::token_to_tree)
.collect(),
),
children: Some(tokens.into_iter().map(TreeBuilder::token_to_tree).collect()),
span: last,
};

Expand Down
2 changes: 1 addition & 1 deletion lykiadb-server/src/plan/planner.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use lykiadb_lang::ast::{expr::Expr, sql::SqlSelect};

use crate::{engine::interpreter::HaltReason};
use crate::engine::interpreter::HaltReason;

use super::{Node, Plan};
pub struct Planner;
Expand Down

0 comments on commit debdfeb

Please sign in to comment.