Skip to content

Conversation

@epage
Copy link
Collaborator

@epage epage commented Oct 2, 2025

The main concern we have is &mut Inner because our processing of input is stateful and this can mess things up.
Adding an as_inner doesn't have that problem and can be useful for any custom behavior users have added that they want to query. This particularly came up with converting Rustup from termcolor to anstream because of their test stream.

The main concern we have is `&mut Inner` because our processing of input
is stateful and this can mess things up.
Adding an `as_inner` doesn't have that problem and can be useful for any
custom behavior users have added that they want to query.
This particularly came up with converting Rustup from termcolor to
anstream because of their test stream.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 18200016261

Details

  • 0 of 9 (0.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.2%) to 54.261%

Changes Missing Coverage Covered Lines Changed/Added Lines %
crates/anstream/src/strip.rs 0 2 0.0%
crates/anstream/src/wincon.rs 0 2 0.0%
crates/anstream/src/auto.rs 0 5 0.0%
Totals Coverage Status
Change from base Build 18169046557: -0.2%
Covered Lines: 1420
Relevant Lines: 2617

💛 - Coveralls

@epage epage merged commit 6f6fe80 into rust-cli:main Oct 2, 2025
16 checks passed
@epage epage deleted the inner branch October 2, 2025 17:04
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