Skip to content

Factor out foldable better to reduce code duplication. #14158

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

Merged
merged 1 commit into from
May 13, 2014

Conversation

nikomatsakis
Copy link
Contributor

Factor out foldable better to reduce code duplication.

r? @pcwalton (probably want to let travis run...)

… "double

dispatch" pattern that lets you easily write new folders and then apply them to
various structures, reusing the "folding" effort.
bors added a commit that referenced this pull request May 13, 2014
…, r=pcwalton

Factor out foldable better to reduce code duplication. 

r? @pcwalton (probably want to let travis run...)
@bors bors closed this May 13, 2014
@bors bors merged commit 7d6f1aa into rust-lang:master May 13, 2014
@nikomatsakis nikomatsakis deleted the issue-5527-refactor-foldable branch March 30, 2016 16:15
flip1995 pushed a commit to flip1995/rust that referenced this pull request Mar 20, 2025
…st-lang#14158)

changelog: [`question_mark`]: avoid incorrect suggestion when `ref`
binding used

Fixes rust-lang#13417
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants