From e94b073266b578521b5eefef4fb42189603f1216 Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Fri, 22 Nov 2024 10:33:57 -0800 Subject: [PATCH] Organize the 2024 chapters into sub-chapters by category --- src/SUMMARY.md | 54 +++++++++++++++++-------------- src/rust-2024/cargo.md | 3 ++ src/rust-2024/language.md | 3 ++ src/rust-2024/match-ergonomics.md | 12 +++++++ src/rust-2024/rustdoc.md | 3 ++ src/rust-2024/rustfmt.md | 3 ++ src/rust-2024/standard-library.md | 3 ++ 7 files changed, 57 insertions(+), 24 deletions(-) create mode 100644 src/rust-2024/cargo.md create mode 100644 src/rust-2024/language.md create mode 100644 src/rust-2024/match-ergonomics.md create mode 100644 src/rust-2024/rustdoc.md create mode 100644 src/rust-2024/rustfmt.md create mode 100644 src/rust-2024/standard-library.md diff --git a/src/SUMMARY.md b/src/SUMMARY.md index cfabf113..c4e84760 100644 --- a/src/SUMMARY.md +++ b/src/SUMMARY.md @@ -39,27 +39,33 @@ ## Rust 2024 - [Rust 2024 🚧](rust-2024/index.md) - - [Additions to the prelude](rust-2024/prelude.md) - - [Add `IntoIterator` for `Box<[T]>`](rust-2024/intoiterator-box-slice.md) - - [Newly unsafe functions](rust-2024/newly-unsafe-functions.md) - - [`unsafe_op_in_unsafe_fn` warning](rust-2024/unsafe-op-in-unsafe-fn.md) - - [RPIT lifetime capture rules](rust-2024/rpit-lifetime-capture.md) - - [Disallow references to `static mut`](rust-2024/static-mut-references.md) - - [Cargo: Rust-version aware resolver](rust-2024/cargo-resolver.md) - - [Cargo: Table and key name consistency](rust-2024/cargo-table-key-names.md) - - [Cargo: Reject unused inherited default-features](rust-2024/cargo-inherited-default-features.md) - - [Rustfmt: Combine all delimited exprs as last argument](rust-2024/rustfmt-overflow-delimited-expr.md) - - [Rustfmt: Style edition](rust-2024/rustfmt-style-edition.md) - - [Rustfmt: Raw identifier sorting](rust-2024/rustfmt-raw-identifier-sorting.md) - - [Rustfmt: Version sorting](rust-2024/rustfmt-version-sorting.md) - - [`gen` keyword](rust-2024/gen-keyword.md) - - [Macro fragment specifiers](rust-2024/macro-fragment-specifiers.md) - - [Missing macro fragment specifiers](rust-2024/missing-macro-fragment-specifiers.md) - - [Never type fallback change](rust-2024/never-type-fallback.md) - - [Unsafe `extern` blocks](rust-2024/unsafe-extern.md) - - [Unsafe attributes](rust-2024/unsafe-attributes.md) - - [Rustdoc combined tests](rust-2024/rustdoc-doctests.md) - - [Rustdoc nested `include!` change](rust-2024/rustdoc-nested-includes.md) - - [Reserved syntax](rust-2024/reserved-syntax.md) - - [`if let` temporary scope](rust-2024/temporary-if-let-scope.md) - - [Tail expression temporary scope](rust-2024/temporary-tail-expr-scope.md) + - [Language](rust-2024/language.md) + - [RPIT lifetime capture rules](rust-2024/rpit-lifetime-capture.md) + - [`if let` temporary scope](rust-2024/temporary-if-let-scope.md) + - [Tail expression temporary scope](rust-2024/temporary-tail-expr-scope.md) + - [Match ergonomics](rust-2024/match-ergonomics.md) + - [Unsafe `extern` blocks](rust-2024/unsafe-extern.md) + - [Unsafe attributes](rust-2024/unsafe-attributes.md) + - [`unsafe_op_in_unsafe_fn` warning](rust-2024/unsafe-op-in-unsafe-fn.md) + - [Disallow references to `static mut`](rust-2024/static-mut-references.md) + - [Never type fallback change](rust-2024/never-type-fallback.md) + - [Macro fragment specifiers](rust-2024/macro-fragment-specifiers.md) + - [Missing macro fragment specifiers](rust-2024/missing-macro-fragment-specifiers.md) + - [`gen` keyword](rust-2024/gen-keyword.md) + - [Reserved syntax](rust-2024/reserved-syntax.md) + - [Standard library](rust-2024/standard-library.md) + - [Additions to the prelude](rust-2024/prelude.md) + - [Add `IntoIterator` for `Box<[T]>`](rust-2024/intoiterator-box-slice.md) + - [Newly unsafe functions](rust-2024/newly-unsafe-functions.md) + - [Cargo](rust-2024/cargo.md) + - [Cargo: Rust-version aware resolver](rust-2024/cargo-resolver.md) + - [Cargo: Table and key name consistency](rust-2024/cargo-table-key-names.md) + - [Cargo: Reject unused inherited default-features](rust-2024/cargo-inherited-default-features.md) + - [Rustdoc](rust-2024/rustdoc.md) + - [Rustdoc combined tests](rust-2024/rustdoc-doctests.md) + - [Rustdoc nested `include!` change](rust-2024/rustdoc-nested-includes.md) + - [Rustfmt](rust-2024/rustfmt.md) + - [Rustfmt: Style edition](rust-2024/rustfmt-style-edition.md) + - [Rustfmt: Combine all delimited exprs as last argument](rust-2024/rustfmt-overflow-delimited-expr.md) + - [Rustfmt: Raw identifier sorting](rust-2024/rustfmt-raw-identifier-sorting.md) + - [Rustfmt: Version sorting](rust-2024/rustfmt-version-sorting.md) diff --git a/src/rust-2024/cargo.md b/src/rust-2024/cargo.md new file mode 100644 index 00000000..fdec4126 --- /dev/null +++ b/src/rust-2024/cargo.md @@ -0,0 +1,3 @@ +# Cargo + +The following chapters detail changes to Cargo in the 2024 Edition. diff --git a/src/rust-2024/language.md b/src/rust-2024/language.md new file mode 100644 index 00000000..ea4197ab --- /dev/null +++ b/src/rust-2024/language.md @@ -0,0 +1,3 @@ +# Language + +The following chapters detail changes to the language in the 2024 Edition. diff --git a/src/rust-2024/match-ergonomics.md b/src/rust-2024/match-ergonomics.md new file mode 100644 index 00000000..53cce054 --- /dev/null +++ b/src/rust-2024/match-ergonomics.md @@ -0,0 +1,12 @@ +# Match ergonomics + +🚧 The 2024 Edition has not yet been released and hence this section is still "under construction". +More information may be found in the tracking issue at . + +**This is a placeholder, docs coming soon!** + +## Summary + +## Details + +## Migration diff --git a/src/rust-2024/rustdoc.md b/src/rust-2024/rustdoc.md new file mode 100644 index 00000000..81351009 --- /dev/null +++ b/src/rust-2024/rustdoc.md @@ -0,0 +1,3 @@ +# Rustdoc + +The following chapters detail changes to Rustdoc in the 2024 Edition. diff --git a/src/rust-2024/rustfmt.md b/src/rust-2024/rustfmt.md new file mode 100644 index 00000000..d02ad364 --- /dev/null +++ b/src/rust-2024/rustfmt.md @@ -0,0 +1,3 @@ +# Rustfmt + +The following chapters detail changes to Rustfmt in the 2024 Edition. diff --git a/src/rust-2024/standard-library.md b/src/rust-2024/standard-library.md new file mode 100644 index 00000000..745abfec --- /dev/null +++ b/src/rust-2024/standard-library.md @@ -0,0 +1,3 @@ +# Standard library + +The following chapters detail changes to the standard library in the 2024 Edition.