File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 20
20
//! As a matter of fact, most of these keywords are not used at all
21
21
//! and could be removed.
22
22
//! 3) a `RESERVED_FOR_TABLE_ALIAS` array with keywords reserved in a
23
- //! "table alias" context.
23
+ //! "table alias" context.
24
24
25
25
#[ cfg( feature = "serde" ) ]
26
26
use serde:: { Deserialize , Serialize } ;
Original file line number Diff line number Diff line change @@ -111,10 +111,10 @@ impl TestedDialects {
111
111
/// that:
112
112
///
113
113
/// 1. parsing `sql` results in the same [`Statement`] as parsing
114
- /// `canonical`.
114
+ /// `canonical`.
115
115
///
116
116
/// 2. re-serializing the result of parsing `sql` produces the same
117
- /// `canonical` sql string
117
+ /// `canonical` sql string
118
118
pub fn one_statement_parses_to ( & self , sql : & str , canonical : & str ) -> Statement {
119
119
let mut statements = self . parse_sql_statements ( sql) . expect ( sql) ;
120
120
assert_eq ! ( statements. len( ) , 1 ) ;
@@ -180,10 +180,10 @@ impl TestedDialects {
180
180
/// Ensures that `sql` parses as a single [`Select`], and that additionally:
181
181
///
182
182
/// 1. parsing `sql` results in the same [`Statement`] as parsing
183
- /// `canonical`.
183
+ /// `canonical`.
184
184
///
185
185
/// 2. re-serializing the result of parsing `sql` produces the same
186
- /// `canonical` sql string
186
+ /// `canonical` sql string
187
187
pub fn verified_only_select_with_canonical ( & self , query : & str , canonical : & str ) -> Select {
188
188
let q = match self . one_statement_parses_to ( query, canonical) {
189
189
Statement :: Query ( query) => * query,
You can’t perform that action at this time.
0 commit comments