Skip to content

Commit

Permalink
Merge pull request #1684 from ehuss/2024-default
Browse files Browse the repository at this point in the history
Update default edition to 2024 for code examples
  • Loading branch information
traviscross authored Dec 3, 2024
2 parents d77cb38 + f247454 commit 40c0365
Show file tree
Hide file tree
Showing 4 changed files with 160 additions and 199 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
merge_group:

env:
MDBOOK_VERSION: 0.4.40
MDBOOK_VERSION: 0.4.43

jobs:
code-tests:
Expand Down
2 changes: 1 addition & 1 deletion book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ smart-punctuation = true
"/unsafe-functions.html" = "unsafe-keyword.html"

[rust]
edition = "2021"
edition = "2024"

[preprocessor.spec]
command = "cargo run --release --manifest-path mdbook-spec/Cargo.toml"
Expand Down
Loading

0 comments on commit 40c0365

Please sign in to comment.