diff options
| author | marcusdunn <marcus.s.dunn@gmail.com> | 2021-05-14 14:14:22 -0700 |
|---|---|---|
| committer | marcusdunn <marcus.s.dunn@gmail.com> | 2021-06-04 09:41:55 -0700 |
| commit | 2d74cd255d599436675b2f67ad3ad1956dc9f02a (patch) | |
| tree | 7a2958fe1c8023083190ffca394ba73ce95005ba | |
| parent | ef65e091dbf4063c019d3429789f3a0d0c73d098 (diff) | |
| download | rust-2d74cd255d599436675b2f67ad3ad1956dc9f02a.tar.gz rust-2d74cd255d599436675b2f67ad3ad1956dc9f02a.zip | |
made doc entry more consistant with others
| -rw-r--r-- | src/doc/unstable-book/src/language-features/bindings-after-at.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doc/unstable-book/src/language-features/bindings-after-at.md b/src/doc/unstable-book/src/language-features/bindings-after-at.md index 15214862058..cc97caba444 100644 --- a/src/doc/unstable-book/src/language-features/bindings-after-at.md +++ b/src/doc/unstable-book/src/language-features/bindings-after-at.md @@ -4,6 +4,8 @@ The tracking issue for this feature is [#65490] [#65490]: https://github.com/rust-lang/rust/issues/65490 +------------------------ + The `bindings_after_at` feature gate allows patterns of form `binding @ pat` to have bindings in `pat`. @@ -19,4 +21,3 @@ fn main() { let point@ Point{x: px, y: py} = Point {x: 12, y: 34}; } ``` - |
