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

feat(widgets): Collect iterator of ListItem into List #775

Merged
merged 1 commit into from
Jan 10, 2024

Conversation

Lunderberg
Copy link
Contributor

A follow-up from #755, allowing any iterator whose item is convertible into ListItem to be collected into a List.

A follow-up from ratatui#755,
allowing any iterator whose item is convertible into `ListItem` to be
collected into a `List`.
Copy link

codecov bot commented Jan 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (388aa46) 92.4% compared to head (0ce4ea5) 92.4%.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #775   +/-   ##
=====================================
  Coverage   92.4%   92.4%           
=====================================
  Files         57      57           
  Lines      14942   14951    +9     
=====================================
+ Hits       13808   13817    +9     
  Misses      1134    1134           

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

Copy link
Member

@Valentin271 Valentin271 left a comment

Choose a reason for hiding this comment

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

Lgtm

@joshka joshka merged commit eb79256 into ratatui:main Jan 10, 2024
@Lunderberg Lunderberg deleted the list_from_iterator branch January 10, 2024 13:32
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.

3 participants