Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(layout): to natural reading order (#681)
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