Skip to content

Commit 722193b

Browse files
Update src/parser/mod.rs
Co-authored-by: Ifeanyi Ubah <ify1992@yahoo.com>
1 parent b6f0b07 commit 722193b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parser/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17428,7 +17428,7 @@ impl<'a> Parser<'a> {
1742817428
/// Parse remainder of `CREATE TYPE AS RANGE` statement
1742917429
///
1743017430
/// See [PostgreSQL](https://www.postgresql.org/docs/current/sql-createtype.html)
17431-
pub fn parse_create_type_range(&mut self, name: ObjectName) -> Result<Statement, ParserError> {
17431+
fn parse_create_type_range(&mut self, name: ObjectName) -> Result<Statement, ParserError> {
1743217432
self.expect_token(&Token::LParen)?;
1743317433
let options = self.parse_comma_separated0(|p| p.parse_range_option(), Token::RParen)?;
1743417434
self.expect_token(&Token::RParen)?;

0 commit comments

Comments
 (0)