Skip to content

Move ToStreamBuilder's container builder to method generic#792

Draft
antiguru wants to merge 1 commit into
TimelyDataflow:masterfrom
antiguru:to-stream-builder-ergonomics
Draft

Move ToStreamBuilder's container builder to method generic#792
antiguru wants to merge 1 commit into
TimelyDataflow:masterfrom
antiguru:to-stream-builder-ergonomics

Conversation

@antiguru
Copy link
Copy Markdown
Member

Generic-over-Item trait with method-level CB enables method-call syntax (0..3).to_stream_with_builder::<_, CB>(scope) instead of the UFCS form ToStreamBuilder::<CB>::to_stream_with_builder(...).

Breaking change to a public trait signature; CHANGELOG updated. Version bump handled separately.

Generic-over-Item trait with method-level CB enables method-call
syntax `(0..3).to_stream_with_builder::<_, CB>(scope)` instead of
the UFCS form `ToStreamBuilder::<CB>::to_stream_with_builder(...)`.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.

1 participant