Skip to content

Commit e6e01b6

Browse files
committed
chore: codefmt
1 parent 27c66ce commit e6e01b6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/query/ast/src/parser/statement.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ use nom::Parser;
2020
use nom_rule::rule;
2121

2222
use super::sequence::sequence;
23+
use super::stream::create_stream;
2324
use super::stream::describe_stream;
2425
use super::stream::show_streams;
25-
use super::stream::create_stream;
2626
use crate::ast::*;
2727
use crate::parser::comment::comment;
2828
use crate::parser::common::*;
@@ -35,7 +35,7 @@ use crate::parser::expr::*;
3535
use crate::parser::input::Input;
3636
use crate::parser::query::*;
3737
use crate::parser::stage::*;
38-
use crate::parser::stream::{drop_stream};
38+
use crate::parser::stream::drop_stream;
3939
use crate::parser::token::*;
4040
use crate::parser::Error;
4141
use crate::parser::ErrorKind;
@@ -2886,12 +2886,10 @@ AS
28862886
INSPECT => rule!(#inspect_warehouse: "`INSPECT WAREHOUSE <warehouse>`"
28872887
).parse(i),
28882888
);
2889-
28902889
Err(nom::Err::Error(Error::from_error_kind(
28912890
i,
28922891
ErrorKind::Other("expecting SQL statement"),
28932892
)))
2894-
28952893
}
28962894

28972895
pub fn statement(i: Input) -> IResult<StatementWithFormat> {

0 commit comments

Comments
 (0)