We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 89a7789 commit ae9bcafCopy full SHA for ae9bcaf
1 file changed
src/ast/visitor.rs
@@ -330,12 +330,12 @@ pub trait VisitorMut {
330
}
331
332
/// Invoked for any [Select] that appear in the AST before visiting children
333
- fn pre_visit_select(&mut self, _select: &Select) -> ControlFlow<Self::Break> {
+ fn pre_visit_select(&mut self, _select: &mut Select) -> ControlFlow<Self::Break> {
334
ControlFlow::Continue(())
335
336
337
/// Invoked for any [Select] that appear in the AST after visiting children
338
- fn post_visit_select(&mut self, _select: &Select) -> ControlFlow<Self::Break> {
+ fn post_visit_select(&mut self, _select: &mut Select) -> ControlFlow<Self::Break> {
339
340
341
0 commit comments