Skip to content

Commit 40c0365

Browse files
authored
Merge pull request #1684 from ehuss/2024-default
Update default edition to 2024 for code examples
2 parents d77cb38 + f247454 commit 40c0365

File tree

4 files changed

+160
-199
lines changed

4 files changed

+160
-199
lines changed

.github/workflows/main.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ on:
44
merge_group:
55

66
env:
7-
MDBOOK_VERSION: 0.4.40
7+
MDBOOK_VERSION: 0.4.43
88

99
jobs:
1010
code-tests:

book.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ smart-punctuation = true
1616
"/unsafe-functions.html" = "unsafe-keyword.html"
1717

1818
[rust]
19-
edition = "2021"
19+
edition = "2024"
2020

2121
[preprocessor.spec]
2222
command = "cargo run --release --manifest-path mdbook-spec/Cargo.toml"

0 commit comments

Comments
 (0)