smoltcp-rs / smoltcp

a smol tcp/ip stack
BSD Zero Clause License
3.63k stars 402 forks source link

chore(iface/sixlowpan): rewrite sixlowpan_to_ipv6 #888

Closed thvdveld closed 5 months ago

thvdveld commented 5 months ago

This commit rewrites the sixlowpan_to_ipv6 function to be more readable. The function is now smaller and easier to understand.

codecov[bot] commented 5 months ago

Codecov Report

Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (2e60fc2) 79.70% compared to head (2051840) 79.75%.

Files Patch % Lines
src/iface/interface/sixlowpan.rs 93.75% 7 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #888 +/- ## ========================================== + Coverage 79.70% 79.75% +0.04% ========================================== Files 78 78 Lines 28042 28036 -6 ========================================== + Hits 22351 22359 +8 + Misses 5691 5677 -14 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.