diff --git a/book.toml b/book.toml index 18a99728b..ff0c66ae2 100644 --- a/book.toml +++ b/book.toml @@ -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" diff --git a/src/destructors.md b/src/destructors.md index 36c677135..247f44f71 100644 --- a/src/destructors.md +++ b/src/destructors.md @@ -226,7 +226,6 @@ r[destructors.scope.temporary.edition2024] Some examples: - ```rust # struct PrintOnDrop(&'static str); # impl Drop for PrintOnDrop {