Closed nabilwadih closed 5 months ago
these unsafe calls are there to avoid paying anohter bounds check (and for &str
a is_char_boundary
check) while code outside is already supposed to guarantee it
Comparing nabilwadih:nwadih/removeUnsafe
(5ec2746) with main
(cdd8baf)
✅ 24
untouched benchmarks
Attention: Patch coverage is 80.00000%
with 3 lines
in your changes are missing coverage. Please review.
Project coverage is 62.01%. Comparing base (
cdd8baf
) to head (5ec2746
).
Files | Patch % | Lines |
---|---|---|
src/traits.rs | 80.00% | 3 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Some of the usages of
unsafe
in the codebase can now be replaced with safe functions from the rust standard library. This PR updates those to remove the unsafe blocksVerified that all of the tests are still passing.