12 lines
240 B
Markdown
12 lines
240 B
Markdown
# Rust Organizer
|
|
|
|
An opinionated tool that organizes a Rust source file in the following order:
|
|
|
|
1. `mod <name>`
|
|
3. `use`
|
|
4. sorted `const`/`static`
|
|
5. sorted `struct`/`enum`/`union`/`type`/`trait`
|
|
6. `fn`
|
|
7. `impl`
|
|
8. `mod <name> { ... }`
|