Skip to content

Fix two Debug#860

Merged
jswrenn merged 3 commits intorust-itertools:masterfrom
Philippe-Cholet:fix-debug
Jan 23, 2024
Merged

Fix two Debug#860
jswrenn merged 3 commits intorust-itertools:masterfrom
Philippe-Cholet:fix-debug

Conversation

@Philippe-Cholet
Copy link
Copy Markdown
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.
@codecov
Copy link
Copy Markdown

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 enabled auto-merge January 23, 2024 13:13
@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
@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.

2 participants