Skip to content

Conversation

DaniPopes
Copy link
Member

Less clutter and useless information

Copy link
Member

@mattsse mattsse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

fn report(&mut self, report: &CoverageReport) -> eyre::Result<()> {
for (path, items) in report.items_by_file() {
let uncovered = items.iter().copied().filter(|item| item.hits == 0);
if uncovered.clone().count() == 0 {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is fine because this merely clones the iter

@DaniPopes DaniPopes merged commit 7fffd14 into master Aug 2, 2025
22 checks passed
@DaniPopes DaniPopes deleted the dani/cov-debug branch August 2, 2025 15:29
@github-project-automation github-project-automation bot moved this to Done in Foundry Aug 2, 2025
MerkleBoy pushed a commit to MerkleBoy/foundry that referenced this pull request Sep 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants