lighthouse/common/compare_fields/src
Michael Sproul 463e62e833 Generalise compare_fields to work with iterators (#4823)
## Proposed Changes

Add `compare_fields(as_iter)` as a field attribute to `compare_fields_derive`. This allows any iterable type to be compared in the same as a slice (by index). 

This is forwards-compatible with tree-states types like `List` and `Vector` which can not be cast to slices.
2023-10-18 12:59:53 +00:00
..
lib.rs Generalise compare_fields to work with iterators (#4823) 2023-10-18 12:59:53 +00:00