Skip to content

fix: use correct byte order in NonZero::from_le_byte_array#1211

Merged
tarcieri merged 1 commit intoRustCrypto:masterfrom
fcasal:fix-from-le-byte-array
Feb 26, 2026
Merged

fix: use correct byte order in NonZero::from_le_byte_array#1211
tarcieri merged 1 commit intoRustCrypto:masterfrom
fcasal:fix-from-le-byte-array

Conversation

@fcasal
Copy link
Contributor

@fcasal fcasal commented Feb 24, 2026

The "little-endian" function was incorrectly calling T::from_be_byte_array instead of T::from_le_byte_array.

@codecov
Copy link

codecov bot commented Feb 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.88%. Comparing base (236d679) to head (3b0f5ce).
⚠️ Report is 2 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1211      +/-   ##
==========================================
+ Coverage   87.86%   87.88%   +0.01%     
==========================================
  Files         184      184              
  Lines       21005    21010       +5     
==========================================
+ Hits        18457    18465       +8     
+ Misses       2548     2545       -3     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@tarcieri tarcieri merged commit dba38d0 into RustCrypto:master Feb 26, 2026
31 checks passed
@tarcieri tarcieri mentioned this pull request Mar 5, 2026
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