File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ you can write: <!-- date: 2021-09 --><!-- the date comment is for the edition be
33
33
],
34
34
"rust-analyzer.rustfmt.overrideCommand" : [
35
35
" ./build/TARGET_TRIPLE/stage0/bin/rustfmt" ,
36
- " --edition=2018 "
36
+ " --edition=2021 "
37
37
],
38
38
"editor.formatOnSave" : true ,
39
39
"rust-analyzer.cargo.runBuildScripts" : false ,
Original file line number Diff line number Diff line change @@ -293,7 +293,7 @@ format-on-save turned on. It's a good habit to run `./x.py fmt` before every
293
293
commit, as this reduces conflicts later. The pinned version is built under
294
294
` build/<target>/stage0/bin/rustfmt ` , so if you want, you can use it for a
295
295
single file or for format-on-save in your editor, which can be faster than ` ./x.py fmt ` .
296
- You'll have to pass the <!-- date: 2021-09 --> ` --edition=2018 ` argument
296
+ You'll have to pass the <!-- date: 2021-09 --> ` --edition=2021 ` argument
297
297
yourself when calling ` rustfmt ` directly.
298
298
299
299
One last thing: you can use ` RUSTC_LOG=XXX ` to get debug logging. [ Read more
You can’t perform that action at this time.
0 commit comments