Skip to content

Change import style - #370

Draft
nspin wants to merge 4 commits into
seL4:mainfrom
nspin:pr/import-style
Draft

Change import style#370
nspin wants to merge 4 commits into
seL4:mainfrom
nspin:pr/import-style

Conversation

@nspin

@nspin nspin commented Jul 27, 2026

Copy link
Copy Markdown
Member

To use the vertical layout described here:

https://docs.kernel.org/rust/coding-guidelines.html#imports

This will make diffs simpler and merging easier.

This PR was automated using rustfmt, and includes an update to the rustfmt config.

nspin added 4 commits July 26, 2026 20:03
To make merging easier.
With new settings.
Group by crate instead of perserving manual grouping.
With new settings.
@midnightveil

Copy link
Copy Markdown
Contributor

Looks like that Rustfmt config is nightly only, which is a bit annoying.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants