sigp / ssz_types

List, vector and bitfield types for SSZ
Apache License 2.0
1 stars 11 forks source link

Added missing IntoIterator trait for FixedVector #20

Closed ethDreamer closed 9 months ago

ethDreamer commented 9 months ago

This makes calls to into_iter() work properly so we can replace all those:

    Vec::from(fixed_vec).into_iter()

with just:

    fixed_vec.into_iter()

we're gonna need a clippy rule to find them all...

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (2c603ec) 60.41% compared to head (c7a818e) 60.98%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #20 +/- ## ========================================== + Coverage 60.41% 60.98% +0.57% ========================================== Files 9 9 Lines 485 487 +2 ========================================== + Hits 293 297 +4 + Misses 192 190 -2 ```

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

michaelsproul commented 9 months ago

Nice! Wanna farm coverage by adding a test?