Skip to content

Commit

Permalink
refactor(layout): to natural reading order (#681)
Browse files Browse the repository at this point in the history
Structs and enums at the top of the file helps show the interaction
between the types without having to find each type in between longer
impl sections.

Also moved the try_split function into the Layout impl as an associated
function and inlined the `layout::split()` which just called try_split.
This makes the code a bit more contained.
  • Loading branch information
joshka committed Dec 9, 2023
1 parent 03401cd commit 0576a8a
Showing 1 changed file with 300 additions and 294 deletions.

0 comments on commit 0576a8a

Please sign in to comment.