Skip to content

Commit

Permalink
update unstable book
Browse files Browse the repository at this point in the history
  • Loading branch information
dianne committed Jan 26, 2025
1 parent fc2269f commit 737d409
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ The tracking issue for this feature is: [#123076]

This feature is incomplete and not yet intended for general use.

This implements experimental match ergonomics under consideration for inclusion in Rust.
- On Edition 2024, this corresponds to the typing rules found [here].
- On older Editions, the current behavior is unspecified.
This implements experimental, Edition-dependent match ergonomics under consideration for inclusion
in Rust.
For more information, see the corresponding typing rules for [Editions 2021 and earlier] and for
[Editions 2024 and later].

For alternative experimental match ergonomics, see the feature
[`ref_pat_eat_one_layer_2024`](./ref-pat-eat-one-layer-2024.md).

[here]: https://nadrieril.github.io/typing-rust-patterns/?compare=false&opts1=AQEBAgEBAQEBAgIAAAAAAAAAAAAAAAA%3D&mode=rules&do_cmp=false&ty_d=3
[Editions 2021 and earlier]: https://nadrieril.github.io/typing-rust-patterns/?compare=false&opts1=AQEBAQIBAQEBAAAAAAAAAAAAAAAAAAA%3D&mode=rules&do_cmp=false
[Editions 2024 and later]: https://nadrieril.github.io/typing-rust-patterns/?compare=false&opts1=AQEBAgEBAQEBAgIAAAAAAAAAAAAAAAA%3D&mode=rules&do_cmp=false
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@ The tracking issue for this feature is: [#123076]

This feature is incomplete and not yet intended for general use.

This implements experimental match ergonomics under consideration for inclusion in Rust.
- On Edition 2024, this corresponds to the typing rules found [here].
- On older Editions, the current behavior is unspecified.
This implements experimental, Edition-dependent match ergonomics under consideration for inclusion
in Rust.
For more information, see the corresponding typing rules for [Editions 2021 and earlier] and for
[Editions 2024 and later].

For alternative experimental match ergonomics, see the feature
[`ref_pat_eat_one_layer_2024_structural`](./ref-pat-eat-one-layer-2024-structural.md).

[here]: https://nadrieril.github.io/typing-rust-patterns/?compare=false&opts1=AQEBAAEBAQABAgIAAQEBAAEBAAABAAA%3D&mode=rules&do_cmp=false
[Editions 2021 and earlier]: https://nadrieril.github.io/typing-rust-patterns/?compare=false&opts1=AQEBAQABAQABAAAAAQEBAAEBAAABAAA%3D&mode=rules&do_cmp=false
[Editions 2024 and later]: https://nadrieril.github.io/typing-rust-patterns/?compare=false&opts1=AQEBAAEBAQABAgIAAQEBAAEBAAABAAA%3D&mode=rules&do_cmp=false

0 comments on commit 737d409

Please sign in to comment.