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

Make it clearer that we're not passing empty slices to C code. #2269

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

briansmith
Copy link
Owner

See each individual commit.

Make it more obvious that there is no problem passing an empty
slice.
In the future we'll make this a const assertion.
@briansmith briansmith self-assigned this Jan 22, 2025
Copy link

codecov bot commented Jan 22, 2025

Codecov Report

Attention: Patch coverage is 92.85714% with 1 line in your changes missing coverage. Please review.

Project coverage is 96.74%. Comparing base (c48119f) to head (b25576a).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/aead/poly1305.rs 85.71% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2269   +/-   ##
=======================================
  Coverage   96.74%   96.74%           
=======================================
  Files         169      169           
  Lines       20837    20844    +7     
  Branches      496      497    +1     
=======================================
+ Hits        20159    20166    +7     
  Misses        571      571           
  Partials      107      107           

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

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