15How do you order your enums, structs and functions in your files?posted 1 year ago *byboblaw0@lemmy.worldin rust@programming.devView comments8 commentssavehidereportSort:HotTopControversialNewOldYou are viewing a single thread.View all comments [ +- ]Fil@hachyderm.io2 points1 year ago@boblaw0 In an order that tells the story, when reading the module file top-to-bottom. It is usually difficult to do when rapidly developing, but easier to achieve when refactoring a working program or a library. permalinksavereportreply