Skip to content

style: Allow rustfmt to organize imports - #4136

Merged
tgross35 merged 2 commits into
rust-lang:mainfrom
tgross35:rustfmt-config
Nov 23, 2024
Merged

style: Allow rustfmt to organize imports#4136
tgross35 merged 2 commits into
rust-lang:mainfrom
tgross35:rustfmt-config

Conversation

@tgross35

Copy link
Copy Markdown
Member

Add group_imports and import_granularity to our rustfmt config. These values are the same as in rust-lang/rust.

Add `group_imports` and `import_granularity` to our rustfmt config.
These values are the same as in rust-lang/rust.
@tgross35tgross35 added the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Nov 23, 2024
@rustbot

Copy link
Copy Markdown
Collaborator

r? @JohnTitor

rustbot has assigned @JohnTitor.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@rustbot

Copy link
Copy Markdown
Collaborator

Some changes occurred in solarish module

cc @jclulow, @pfmooney

@tgross35
tgross35 added this pull request to the merge queueNov 23, 2024
Merged via the queue into rust-lang:main with commit 400f73fNov 23, 2024
@borsbors mentioned this pull request Nov 23, 2024
3 tasks
@tgross35
tgross35 deleted the rustfmt-config branch November 23, 2024 05:40
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Nov 25, 2024
Add `group_imports` and `import_granularity` to our rustfmt config.
These values are the same as in rust-lang/rust.
(backport <rust-lang#4136>)
(cherry picked from commit 0456dcb)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Nov 25, 2024
`libc-0.2` version of 236e069 from [1]
(not a direct cherry pick).
[1]: rust-lang#4136
This was referenced Nov 25, 2024
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Nov 25, 2024
Add `group_imports` and `import_granularity` to our rustfmt config.
These values are the same as in rust-lang/rust.
(backport <rust-lang#4136>)
(cherry picked from commit 0456dcb)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Nov 25, 2024
`libc-0.2` version of 236e069 from [1]
(not a direct cherry pick).
[1]: rust-lang#4136
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Nov 25, 2024
Add `group_imports` and `import_granularity` to our rustfmt config.
These values are the same as in rust-lang/rust.
(backport <rust-lang#4136>)
(cherry picked from commit 0456dcb)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Nov 25, 2024
`libc-0.2` version of 236e069 from [1]
(not a direct cherry pick).
[1]: rust-lang#4136
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Nov 25, 2024
Add `group_imports` and `import_granularity` to our rustfmt config.
These values are the same as in rust-lang/rust.
(backport <rust-lang#4136>)
(cherry picked from commit 0456dcb)
tgross35 added a commit to tgross35/rust-libc that referenced this pull request Nov 25, 2024
`libc-0.2` version of 236e069 from [1]
(not a direct cherry pick).
[1]: rust-lang#4136
@tgross35tgross35 removed the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Nov 25, 2024
@tgross35tgross35 added the stable-applied This PR has been cherry-picked to libc's stable release branch label Nov 25, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

O-illumosO-linuxO-muslO-solarishO-unixO-wasiS-waiting-on-reviewstable-appliedThis PR has been cherry-picked to libc's stable release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@tgross35@rustbot@JohnTitor