You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-9Lines changed: 1 addition & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,15 +32,7 @@ Automated tools enforce formatting (`cargo fmt`) and linting (`cargo clippy`). T
32
32
33
33
### Import Organization
34
34
35
-
Prefer **merged imports** — combine multiple items from the same crate or module into a single `use` statement with braces rather than separate `use` lines.
36
-
37
-
Imports are grouped in this order, separated by blank lines:
38
-
39
-
1.`use super::...` or `use crate::...` (internal)
40
-
2. External crate imports (alphabetical)
41
-
3.`use std::...` (standard library)
42
-
43
-
Within each group, items are ordered alphabetically. Platform-specific imports (`#[cfg(unix)]`) go in a separate block after the main imports.
35
+
Prefer **merged imports** — combine multiple items from the same crate or module into a single `use` statement with braces rather than separate `use` lines. Import ordering is enforced by `cargo fmt`. Platform-specific imports (`#[cfg(unix)]`) go in a separate block after the main imports.
0 commit comments