mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-07 15:58:02 +00:00
cargo fmt
This commit is contained in:
parent
80cb9b13ce
commit
a10482c353
1 changed files with 6 additions and 6 deletions
|
@ -408,12 +408,12 @@ impl Parser {
|
|||
}
|
||||
|
||||
/// Parse a literal string
|
||||
// fn parse_literal_string(&mut self) -> Result<String, ParserError> {
|
||||
// match self.next_token() {
|
||||
// Some(Token::String(ref s)) => Ok(s.clone()),
|
||||
// other => parser_err!(format!("Expected literal string, found {:?}", other)),
|
||||
// }
|
||||
// }
|
||||
// fn parse_literal_string(&mut self) -> Result<String, ParserError> {
|
||||
// match self.next_token() {
|
||||
// Some(Token::String(ref s)) => Ok(s.clone()),
|
||||
// other => parser_err!(format!("Expected literal string, found {:?}", other)),
|
||||
// }
|
||||
// }
|
||||
|
||||
/// Parse a SQL datatype (in the context of a CREATE TABLE statement for example)
|
||||
fn parse_data_type(&mut self) -> Result<SQLType, ParserError> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue