• Dorota Czaplejewicz's avatar
    layouts: Make selection testable · 19087690
    Dorota Czaplejewicz authored
    From now on, all the parameters for loading layout are handled inside a single pure function, which makes them possible to test.
    As a side benefit, the old preference order function composed of a mess of nested procedures is gone.
layout.rs 46 KB