• Christian Duerr's avatar
    Fix failing test with `bench` feature · e01317d8
    Christian Duerr authored
    Using the `bench` feature, `cargo test` was failing since one of the
    benchmarks was running into a debug assertion for attempting to access a
    line with an index beyond the grid length.
    Since this issue was caused by the `len` property not being serialized
    and deserialized, the `#[serde(skip)]` attribute has been changed to
    `#[serde(default)]`. The ref-test has been edited to include the correct
    grid length for proper deserialization.
    This fixes #1604.
Last commit
Last update
ref Loading commit data...
ref.rs Loading commit data...