Skip to content

fix:set newline_style=Unix - #2209

Merged
folkertdev merged 2 commits into
rust-lang:mainfrom
xonx4l:fix-line-ending-mismatch
Aug 18, 2026
Merged

fix:set newline_style=Unix#2209
folkertdev merged 2 commits into
rust-lang:mainfrom
xonx4l:fix-line-ending-mismatch

Conversation

@xonx4l

@xonx4l xonx4l commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

This PR fix line ending mismatch by setting newline_style=Unix

r? @folkertdev

input: impl std::fmt::Display,
) -> std::io::Result<()> {
let proc = Command::new("rustfmt")
.arg("--config")

@Kobzol Kobzol Aug 18, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.arg("--config")
// Ensure that we generate the same file contents on both Linux and Windows.
.arg("--config")

View changes since the review

@folkertdev
folkertdev added this pull request to the merge queue Aug 18, 2026
Merged via the queue into rust-lang:main with commit 0d4e35e Aug 18, 2026
82 checks passed
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.

3 participants