-
Notifications
You must be signed in to change notification settings - Fork 605
Improve docs and add examples for Visitor #778
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
cc @tustvold |
Pull Request Test Coverage Report for Build 3800963580
💛 - Coveralls |
@tustvold do you have time to review this PR? I hope to merge this later today / make a release |
/// let mut visited = vec![]; | ||
/// visit_relations(&statements, |relation| { | ||
/// visited.push(format!("RELATION: {}", relation)); | ||
/// ControlFlow::<()>::Continue(()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm surprised you need to type hint this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, me too -- I think it is because the return value is not used
Co-authored-by: Raphael Taylor-Davies <[email protected]>
Co-authored-by: Raphael Taylor-Davies <[email protected]>
Follow on to #765