Skip to content

Commit

Permalink
Move formatting stuff into a dedicated module
Browse files Browse the repository at this point in the history
  • Loading branch information
gwenn committed Jan 7, 2024
1 parent 63488e9 commit d45d03e
Show file tree
Hide file tree
Showing 4 changed files with 2,032 additions and 1,974 deletions.
3 changes: 2 additions & 1 deletion src/lexer/sql/test.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
use fallible_iterator::FallibleIterator;

use super::{Error, Parser};
use crate::parser::ast::fmt::ToTokens;
use crate::parser::{
ast::{Cmd, Name, ParameterInfo, QualifiedName, Stmt, ToTokens},
ast::{Cmd, Name, ParameterInfo, QualifiedName, Stmt},
ParserError,
};

Expand Down
4 changes: 2 additions & 2 deletions src/parser/ast/check.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::parser::ast::*;
use bitflags::Flags;
use crate::ast::*;
use std::fmt::{Display, Formatter};

impl Cmd {
/// Statement accessor
Expand Down
Loading

0 comments on commit d45d03e

Please sign in to comment.