Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

style: Allow rustfmt to organize imports #4136

Merged
merged 2 commits into from
Nov 23, 2024

Conversation

tgross35
Copy link
Contributor

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.
@tgross35 tgross35 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
Collaborator

rustbot commented Nov 23, 2024

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
Collaborator

rustbot commented Nov 23, 2024

Some changes occurred in solarish module

cc @jclulow, @pfmooney

@tgross35 tgross35 enabled auto-merge November 23, 2024 02:45
@tgross35 tgross35 added this pull request to the merge queue Nov 23, 2024
Merged via the queue into rust-lang:main with commit 400f73f Nov 23, 2024
45 checks passed
@bors bors 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
@tgross35 tgross35 removed the stable-nominated This PR should be considered for cherry-pick to libc's stable release branch label Nov 25, 2024
@tgross35 tgross35 added the stable-applied This PR has been cherry-picked to libc's stable release branch label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants