You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am hesitant to pile more features into syn because if an optional feature requires a breaking change, even people not using that feature suffer from the version bump. With a relatively stable core in syn and an ecosystem of supporting libraries around it, you are only affected by breaking changes to pieces that you use.
I guess fold is core enough and coupled so closely with everything else in syn that the scenario of breaking fold without breaking syn seems unlikely, so you're right it could make sense to implement here rather than a separate crate.
dtolnay
changed the title
Implement fold in a separate crate
Implement foldNov 11, 2016
Here is how libsyntax does it: https://github.com/rust-lang/rust/blob/master/src/libsyntax/fold.rs
cc @SimonSapin
The text was updated successfully, but these errors were encountered: