This is an automated archive made by the Lemmit Bot.

The original was posted on /r/rust by /u/decryphe on 2024-11-04 16:23:39+00:00.


I’m really rather happy to be able to contribute something back to the community! So far it’s only been a few minor bugfixes in smaller projects, but finally I’ve been able to contribute to something relevant. I hope to be able to do so again, soon!

About the lint: and its PR

What it does

Confirms that items are sorted in source files as per configuration.

Why restrict this?

Keeping a consistent ordering throughout the codebase helps with working as a team, and possibly improves maintainability of the codebase. The idea is that by defining a consistent and enforceable rule for how source files are structured, less time will be wasted during reviews on a topic that is (under most circumstances) not relevant to the logic implemented in the code. Sometimes this will be referred to as “bikeshedding”.

Now, enough of venting my own joy - I propose two topics for this thread:

  • What have been your first or most significant contributions to the Rust community or OSS in general?
  • Would you consider switching on this lint?