How do you order your enums, structs and functions in your files? - eviltoast
  • KillTheMule@programming.dev
    link
    fedilink
    arrow-up
    5
    ·
    1 year ago

    Enums/Structs first, but those 2 are mixed, and any impl for them will be directly after the definition of the type itsef. Free functions last.