File tree Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Expand file tree Collapse file tree 3 files changed +13
-2
lines changed Original file line number Diff line number Diff line change 2
2
# IMPORTANT
3
3
# If you change the Rust toolchain version here, make sure to also change
4
4
# docker-images/ubi8-rust-builder/Dockerfile & docker-images/ubi9-rust-builder/Dockerfile
5
- rust_version : 1.84.1
5
+ rust_version : 1.85.0
6
6
7
7
# This nightly version is only used for cargo fmt invocations, because we use nightly-only
8
8
# rustfmt config options in rustfmt.toml. The version should be kept in line with the version
Original file line number Diff line number Diff line change
1
+ {
2
+ "rust-analyzer.rustfmt.overrideCommand": [
3
+ "rustfmt",
4
+ "+{[rust_nightly_version}]",
5
+ "--"
6
+ ],
7
+ }
Original file line number Diff line number Diff line change 1
1
# This file includes unstable features, so you need to run "cargo +nightly fmt" to format your code.
2
2
# It's also ok to use the stable toolchain by simple running "cargo fmt", but using the nigthly formatter is prefered.
3
3
4
+ # https://doc.rust-lang.org/nightly/edition-guide/rust-2024/rustfmt-style-edition.html
5
+ style_edition = " 2024"
4
6
imports_granularity = " Crate"
5
- group_imports = " StdExternalCrate"
7
+ group_imports = " StdExternalCrate"
8
+ reorder_impl_items = true
9
+ use_field_init_shorthand = true
You can’t perform that action at this time.
0 commit comments