Skip to content

Commit ae9bcaf

Browse files
committed
Fix mutability
1 parent 89a7789 commit ae9bcaf

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ast/visitor.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -330,12 +330,12 @@ pub trait VisitorMut {
330330
}
331331

332332
/// Invoked for any [Select] that appear in the AST before visiting children
333-
fn pre_visit_select(&mut self, _select: &Select) -> ControlFlow<Self::Break> {
333+
fn pre_visit_select(&mut self, _select: &mut Select) -> ControlFlow<Self::Break> {
334334
ControlFlow::Continue(())
335335
}
336336

337337
/// Invoked for any [Select] that appear in the AST after visiting children
338-
fn post_visit_select(&mut self, _select: &Select) -> ControlFlow<Self::Break> {
338+
fn post_visit_select(&mut self, _select: &mut Select) -> ControlFlow<Self::Break> {
339339
ControlFlow::Continue(())
340340
}
341341

0 commit comments

Comments
 (0)