Skip to content

Add .rustfmt.toml #33

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

Merged
merged 2 commits into from
Sep 13, 2020
Merged

Conversation

kenkoooo
Copy link
Contributor

Resolves #11

@qryxip
Copy link
Member

qryxip commented Sep 10, 2020

as far as I know, edition is set to the package.edition in Cargo.toml by default.

https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#edition

@qryxip
Copy link
Member

qryxip commented Sep 10, 2020

Why not set newline_style to Unix to prevent CSRF CRLF code from being commited.

https://github.com/rust-lang/rustfmt/blob/master/Configurations.md#newline_style

@qryxip qryxip merged commit 5f6bdac into rust-lang-ja:master Sep 13, 2020
@kenkoooo kenkoooo deleted the features/rustfmt_toml branch September 13, 2020 11:32
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.

Add .rustfmt.toml
2 participants