Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix two Debug #860

Merged
merged 3 commits into from
Jan 23, 2024
Merged

Fix two Debug #860

merged 3 commits into from
Jan 23, 2024

Conversation

Philippe-Cholet
Copy link
Member

  • TakeWhileInclusive debug implementation missed a field ;
  • GroupingMapBy was not really debug because functions usually are not ;
  • FlattenOk: use our debug macro instead.

Derive it is not the best in this case since `F` is a function.
`MapForGrouping` is now Debug and `GroupingMapBy` too as it wraps it.
Copy link

codecov bot commented Jan 23, 2024

Codecov Report

Attention: 1 lines in your changes are missing coverage. Please review.

Comparison is base (62d2b65) 93.43% compared to head (6c7932d) 93.56%.

Files Patch % Lines
src/grouping_map.rs 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #860      +/-   ##
==========================================
+ Coverage   93.43%   93.56%   +0.12%     
==========================================
  Files          48       48              
  Lines        6778     6771       -7     
==========================================
+ Hits         6333     6335       +2     
+ Misses        445      436       -9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jswrenn jswrenn added this to the next milestone Jan 23, 2024
@jswrenn jswrenn added this pull request to the merge queue Jan 23, 2024
Merged via the queue into rust-itertools:master with commit 7a1c22b Jan 23, 2024
12 of 13 checks passed
@Philippe-Cholet Philippe-Cholet deleted the fix-debug branch January 23, 2024 13:15
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.

None yet

2 participants