Skip to content

Conversation

@NobodyXu
Copy link
Collaborator

Change poll_partial_flush_buf to return a Buffer<'_>, which include a public WriteBuffer field, and a Drop impl so that it automatically advances the underlying BufWriter.

Rm the produce method as we no longer need it

Change `poll_partial_flush_buf` to return a `Buffer<'_>`, which include a public `WriteBuffer` field,
and a `Drop` impl so that it automatically advances the underlying `BufWriter`.

Rm the `produce` method as we no longer need it
@NobodyXu NobodyXu enabled auto-merge November 18, 2025 14:02
@NobodyXu NobodyXu added this pull request to the merge queue Nov 18, 2025
Merged via the queue into main with commit 02f81fe Nov 18, 2025
31 of 35 checks passed
@NobodyXu NobodyXu deleted the refactor-and-optimize-bufwriter branch November 18, 2025 14:18
@github-actions github-actions bot mentioned this pull request Nov 13, 2025
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.

2 participants