Skip to content

Commit b988fbc

Browse files
committed
SGA-11414 cargo format/doc fix
1 parent a0eb9c1 commit b988fbc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/parser/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2027,10 +2027,10 @@ impl<'a> Parser<'a> {
20272027

20282028
/// Tries to parse the body of an [ODBC escaping sequence]
20292029
/// i.e. without the enclosing braces
2030-
/// Currently implemented:
2030+
/// Currently implemented:
20312031
/// Scalar Function Calls
20322032
/// Date, Time, and Timestamp Literals
2033-
/// See https://learn.microsoft.com/en-us/sql/odbc/reference/develop-app/escape-sequences-in-odbc?view=sql-server-2017
2033+
/// See <https://learn.microsoft.com/en-us/sql/odbc/reference/develop-app/escape-sequences-in-odbc?view=sql-server-2017>
20342034
fn maybe_parse_odbc_body(&mut self) -> Result<Option<Expr>, ParserError> {
20352035
// Attempt 1: Try to parse it as a function.
20362036
if let Some(expr) = self.maybe_parse_odbc_fn_body()? {

tests/sqlparser_common.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16297,4 +16297,4 @@ fn test_odbc_time_date_timestamp_support() {
1629716297
fn test_invalid_odbc_literal_fails() {
1629816298
let sql = "SELECT {tt '14:12:01'} FROM foo";
1629916299
let _ = all_dialects().verified_stmt(sql);
16300-
}
16300+
}

0 commit comments

Comments
 (0)