We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
rustfmt
rust-toolchain
如题,通过增加 rust-toolchain 文件指定工具链版本,以及通过 rustfmt.toml 提供代码风格检查。这样可以帮助其他开发者快速上手项目。
rustfmt.toml
rust-toolchain 示例:
nightly-2022-12-15
rustfmt.toml 示例:
edition = "2021" condense_wildcard_suffixes = true group_imports = "StdExternalCrate" imports_granularity = "Crate" license_template_path = "etc/license.template" newline_style = "Unix" reorder_imports = true report_fixme = "Unnumbered" trailing_comma = "Vertical" use_field_init_shorthand = true use_small_heuristics = "Max" merge_derives = false comment_width = 120
The text was updated successfully, but these errors were encountered:
Sure!
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
如题,通过增加
rust-toolchain
文件指定工具链版本,以及通过rustfmt.toml
提供代码风格检查。这样可以帮助其他开发者快速上手项目。rust-toolchain 示例:
rustfmt.toml 示例:
The text was updated successfully, but these errors were encountered: