Rust linter for method ordering (looking for feedback)
Hi,
I'm learning Rust (I have experience with Java and Go) and built a small linter funcorder-rs.
It checks that inside impl blocks, methods are ordered as:
- Constructors (
pub fn new() -> Selfetc.). - Public methods.
- Private methods
More than looking if you guys find it useful (which it's also nice) I am wondering if I am using idiomatic Rust, best practices, etc.
This is the link: https://github.com/manuelarte/funcorder-rs
Cheers!
u/manuelarte — 3 days ago