Remove some unused imports
This commit is contained in:
parent
6245dba4f0
commit
da8e2d6771
3 changed files with 2 additions and 2 deletions
|
|
@ -33,6 +33,7 @@ fn parse_statement(input: &str) -> IResult<&str, RawQuerySyntax> {
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Parse one or more statements
|
/// Parse one or more statements
|
||||||
|
#[allow(dead_code)]
|
||||||
fn parse_statement1(input: &str) -> IResult<&str, Vec<RawQuerySyntax>> {
|
fn parse_statement1(input: &str) -> IResult<&str, Vec<RawQuerySyntax>> {
|
||||||
many1(terminated(parse_statement, delimited(multispace0, char(';'), multispace0)))(input)
|
many1(terminated(parse_statement, delimited(multispace0, char(';'), multispace0)))(input)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
use minisql::type_system::DbType;
|
|
||||||
use nom::{
|
use nom::{
|
||||||
branch::alt, bytes::complete::tag, character::complete::{char, digit1, none_of, u64}, combinator::opt, error::make_error, multi::many0, sequence::{delimited, pair, preceded}, IResult, Parser
|
branch::alt, bytes::complete::tag, character::complete::{char, digit1, none_of, u64}, combinator::opt, error::make_error, multi::many0, sequence::{delimited, pair, preceded}, IResult, Parser
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
use minisql::{
|
use minisql::{
|
||||||
schema::{ColumnName, TableName},
|
schema::{ColumnName, TableName},
|
||||||
type_system::{DbType, Value},
|
type_system::DbType,
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::parsing::literal::Literal;
|
use crate::parsing::literal::Literal;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue