@boblaw0 to [email protected] • edit-21 year agoHow do you order your enums, structs and functions in your files?message-square8arrow-up115arrow-down10
arrow-up115arrow-down1message-squareHow do you order your enums, structs and functions in your files?@boblaw0 to [email protected] • edit-21 year agomessage-square8
minus-square@[email protected]linkfedilink5•1 year agoEnums/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.
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.