Zenny
  • Communities
  • Create Post
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
boblaw0@lemmy.world to Rust@programming.dev ·
edit-2
2 years ago

How do you order your enums, structs and functions in your files?

message-square
message-square
12
link
fedilink
15
message-square

How do you order your enums, structs and functions in your files?

boblaw0@lemmy.world to Rust@programming.dev ·
edit-2
2 years ago
message-square
12
link
fedilink
  • PoolloverNathan@programming.dev
    link
    fedilink
    English
    arrow-up
    10
    ·
    2 years ago

    Whenever I need a struct, I flip a coin to decide if it should be above or below the one I’m currently writing.

Rust@programming.dev

rust@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !rust@programming.dev

Welcome to the Rust community! This is a place to discuss about the Rust programming language.

Wormhole

!performance@programming.dev

Credits
  • The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 19 users / day
  • 178 users / week
  • 376 users / month
  • 167 users / 6 months
  • 1 local subscriber
  • 5.35K subscribers
  • 696 Posts
  • 2.52K Comments
  • Modlog
  • mods:
  • snowe@programming.dev
  • Ategon@programming.dev
  • EdTheLegendary@programming.dev
  • kahnclusions@programming.dev
  • torcherist@programming.dev
  • UI: unknown version
  • BE: 0.19.11
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org