Skip to content

Commit

Permalink
chore: add rust-toolchain.toml file with nigthly channel
Browse files Browse the repository at this point in the history
Needed so that vscode's document formatter respects the rules in rustfmt.toml (which require nightly toolchain)
  • Loading branch information
samlaf committed Dec 20, 2024
1 parent ae741ee commit 672089e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
channel = "nightly" # needed so that vscode formats using rustmfmt.toml that uses nightly features

0 comments on commit 672089e

Please sign in to comment.