Skip to content

refactor(tee): introduce retain_with method for MultiWriter#11893

Open
xtqqczze wants to merge 1 commit intouutils:mainfrom
xtqqczze:tee-retain-with
Open

refactor(tee): introduce retain_with method for MultiWriter#11893
xtqqczze wants to merge 1 commit intouutils:mainfrom
xtqqczze:tee-retain-with

Conversation

@xtqqczze
Copy link
Copy Markdown
Contributor

@xtqqczze xtqqczze commented Apr 18, 2026

  • Extract a retain_with method from write and flush to reduce duplication.
  • Use a match instead of combinators for clarity.

@xtqqczze xtqqczze marked this pull request as ready for review April 18, 2026 20:09
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