Skip to content

Commit d8cec2d

Browse files
committed
Update visitor for SQLDateTimeField rename
1 parent 73c0513 commit d8cec2d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ast/visit.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,11 +209,11 @@ pub trait Visit<'ast> {
209209
visit_collate(self, expr, collation)
210210
}
211211

212-
fn visit_extract(&mut self, field: &'ast SQLDateTimeField, expr: &'ast Expr) {
212+
fn visit_extract(&mut self, field: &'ast DateTimeField, expr: &'ast Expr) {
213213
visit_extract(self, field, expr)
214214
}
215215

216-
fn visit_date_time_field(&mut self, _field: &'ast SQLDateTimeField) {}
216+
fn visit_date_time_field(&mut self, _field: &'ast DateTimeField) {}
217217

218218
fn visit_nested(&mut self, expr: &'ast Expr) {
219219
visit_nested(self, expr)
@@ -873,7 +873,7 @@ pub fn visit_collate<'ast, V: Visit<'ast> + ?Sized>(
873873

874874
pub fn visit_extract<'ast, V: Visit<'ast> + ?Sized>(
875875
visitor: &mut V,
876-
field: &'ast SQLDateTimeField,
876+
field: &'ast DateTimeField,
877877
expr: &'ast Expr,
878878
) {
879879
visitor.visit_date_time_field(field);

0 commit comments

Comments
 (0)