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

Implement the Index trait for ZalgoString #30

Merged
merged 6 commits into from
Jan 10, 2024
Merged

Implement the Index trait for ZalgoString #30

merged 6 commits into from
Jan 10, 2024

Conversation

JSorngard
Copy link
Owner

@JSorngard JSorngard commented Jan 10, 2024

This PR adds a macro that implements the Index trait for ZalgoString for a given list of types. It also uses said macro to implement the trait for all the Range types.

Copy link

codecov bot commented Jan 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (04c8117) 87.63% compared to head (a834a83) 88.40%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
+ Coverage   87.63%   88.40%   +0.76%     
==========================================
  Files           5        5              
  Lines         453      483      +30     
==========================================
+ Hits          397      427      +30     
  Misses         56       56              

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

@JSorngard JSorngard merged commit 4e4b8d4 into main Jan 10, 2024
8 checks passed
@JSorngard JSorngard deleted the indexing branch January 10, 2024 14:38
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.

1 participant