about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-04-04 10:46:47 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-04-04 10:46:47 +0000
commit829413d208d4dc71e5b16ab2d60c86b5934122e8 (patch)
tree79f8c7e2bc6d8dc8743706c478312e198108bd5e
parentb0c23f78c98b71f6a202983b4278386cf1703ce7 (diff)
downloadrust-829413d208d4dc71e5b16ab2d60c86b5934122e8.tar.gz
rust-829413d208d4dc71e5b16ab2d60c86b5934122e8.zip
Tell rustfmt to use the 2024 edition
-rw-r--r--.github/workflows/main.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml
index 6fd288d195c..d92e0fdce99 100644
--- a/.github/workflows/main.yml
+++ b/.github/workflows/main.yml
@@ -34,9 +34,9 @@ jobs:
     - name: Rustfmt
       run: |
         cargo fmt --check
-        rustfmt --check build_system/main.rs
-        rustfmt --check example/*
-        rustfmt --check scripts/*.rs
+        rustfmt --check --edition 2024 build_system/main.rs
+        rustfmt --check --edition 2024 example/*
+        rustfmt --check --edition 2024 scripts/*.rs
 
 
   test: