Skip to content

serde_derive: replace .fold(sum + expr) with sum_tokens - #3042

Open
dishmaker wants to merge 2 commits into
serde-rs:masterfrom
dishmaker:dishmaker/serde_derive_ser_sum_tokens
Open

dishmaker wants to merge 2 commits into
serde-rs:masterfrom
dishmaker:dishmaker/serde_derive_ser_sum_tokens

Conversation

@dishmaker

@dishmaker dishmaker commented Feb 16, 2026

Copy link
Copy Markdown
Contributor

638 less llvm-lines

before: 139793
after:  139155

I think it changes the TokenStream behavior.

Edit: Maybe Punctuated<_ , Plus> would be better?

behavior

@dishmaker
dishmaker marked this pull request as ready for review February 16, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant