Skip to content

Commit ab80b40

Browse files
committed
docs(contributing): clarify cfg-gated imports phrasing
1 parent e5af227 commit ab80b40

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Automated tools enforce formatting (`cargo fmt`) and linting (`cargo clippy`). T
3636

3737
### Import Organization
3838

39-
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 such as `#[cfg(unix)]` go in a separate block after the main imports.
39+
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`. Imports gated by a platform attribute such as `#[cfg(unix)]` go in a separate block after the main imports.
4040

4141
```rust
4242
use crate::{

0 commit comments

Comments
 (0)