mirror of
https://github.com/bevyengine/bevy
synced 2024-11-14 00:47:32 +00:00
efda7f3f9c
Takes the first two commits from #15375 and adds suggestions from this comment: https://github.com/bevyengine/bevy/pull/15375#issuecomment-2366968300 See #15375 for more reasoning/motivation. ## Rebasing (rerunning) ```rust git switch simpler-lint-fixes git reset --hard main cargo fmt --all -- --unstable-features --config normalize_comments=true,imports_granularity=Crate cargo fmt --all git add --update git commit --message "rustfmt" cargo clippy --workspace --all-targets --all-features --fix cargo fmt --all -- --unstable-features --config normalize_comments=true,imports_granularity=Crate cargo fmt --all git add --update git commit --message "clippy" git cherry-pick e6c0b94f6795222310fb812fa5c4512661fc7887 ```
12 lines
423 B
TOML
12 lines
423 B
TOML
use_field_init_shorthand = true
|
|
newline_style = "Unix"
|
|
|
|
# The following lines may be uncommented on nightly Rust.
|
|
# Once these features have stabilized, they should be added to the always-enabled options above.
|
|
# unstable_features = true
|
|
# imports_granularity = "Crate"
|
|
# normalize_comments = true
|
|
|
|
# these options seem poorly implemented and cause churn, so, try to avoid them
|
|
# wrap_comments = true
|
|
# comment_width = 100
|