Skip to content

Commit ca7ca16

Browse files
lovasoaayman-sigma
authored andcommitted
fix CI clippy 1.80 warnings (apache#1357)
1 parent 97ac0d2 commit ca7ca16

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/keywords.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
//! As a matter of fact, most of these keywords are not used at all
2121
//! and could be removed.
2222
//! 3) a `RESERVED_FOR_TABLE_ALIAS` array with keywords reserved in a
23-
//! "table alias" context.
23+
//! "table alias" context.
2424
2525
#[cfg(feature = "serde")]
2626
use serde::{Deserialize, Serialize};

src/test_utils.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ impl TestedDialects {
111111
/// that:
112112
///
113113
/// 1. parsing `sql` results in the same [`Statement`] as parsing
114-
/// `canonical`.
114+
/// `canonical`.
115115
///
116116
/// 2. re-serializing the result of parsing `sql` produces the same
117-
/// `canonical` sql string
117+
/// `canonical` sql string
118118
pub fn one_statement_parses_to(&self, sql: &str, canonical: &str) -> Statement {
119119
let mut statements = self.parse_sql_statements(sql).expect(sql);
120120
assert_eq!(statements.len(), 1);
@@ -180,10 +180,10 @@ impl TestedDialects {
180180
/// Ensures that `sql` parses as a single [`Select`], and that additionally:
181181
///
182182
/// 1. parsing `sql` results in the same [`Statement`] as parsing
183-
/// `canonical`.
183+
/// `canonical`.
184184
///
185185
/// 2. re-serializing the result of parsing `sql` produces the same
186-
/// `canonical` sql string
186+
/// `canonical` sql string
187187
pub fn verified_only_select_with_canonical(&self, query: &str, canonical: &str) -> Select {
188188
let q = match self.one_statement_parses_to(query, canonical) {
189189
Statement::Query(query) => *query,

0 commit comments

Comments
 (0)