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

Move Vec zero extension functions to FromZeros #1690

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

joshlf
Copy link
Member

@joshlf joshlf commented Sep 19, 2024

While the ergonomics of calling these as associated functions on FromZeros is not as good as the ergonomics of them as bare functions, the discoverability is considerably higher.

@joshlf joshlf force-pushed the from-zeros-extension-methods branch from 5c375be to 1811a94 Compare September 19, 2024 21:14
@joshlf joshlf requested a review from jswrenn September 19, 2024 21:14
@codecov-commenter
Copy link

codecov-commenter commented Sep 19, 2024

Codecov Report

Attention: Patch coverage is 97.84173% with 3 lines in your changes missing coverage. Please review.

Project coverage is 88.79%. Comparing base (70f3e14) to head (a537583).
Report is 17 commits behind head on main.

Files with missing lines Patch % Lines
src/lib.rs 97.84% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1690      +/-   ##
==========================================
+ Coverage   88.01%   88.79%   +0.77%     
==========================================
  Files          16       16              
  Lines        5805     5843      +38     
==========================================
+ Hits         5109     5188      +79     
+ Misses        696      655      -41     

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

@joshlf joshlf force-pushed the from-zeros-extension-methods branch from 1811a94 to 36ac28a Compare September 19, 2024 21:41
@joshlf joshlf enabled auto-merge September 19, 2024 21:41
While the ergonomics of calling these as associated functions on
`FromZeros` is not as good as the ergonomics of them as bare functions,
the discoverability is considerably higher.
@joshlf joshlf force-pushed the from-zeros-extension-methods branch from 36ac28a to a537583 Compare September 20, 2024 21:35
@joshlf joshlf added this pull request to the merge queue Sep 20, 2024
Merged via the queue into main with commit 7eb4026 Sep 20, 2024
86 checks passed
@joshlf joshlf deleted the from-zeros-extension-methods branch September 20, 2024 22: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.

3 participants