diff options
| author | marcusdunn <marcus.s.dunn@gmail.com> | 2021-05-15 16:04:03 -0700 |
|---|---|---|
| committer | marcusdunn <marcus.s.dunn@gmail.com> | 2021-06-04 09:42:50 -0700 |
| commit | 2d82b4a2b7ea6612b937dc4457f73409cd967e5d (patch) | |
| tree | 88bee982d1b0c247bcec799764c13648bddfd570 | |
| parent | a11c8e7ff348fa5747b7a06390d95254627f8e0e (diff) | |
| download | rust-2d82b4a2b7ea6612b937dc4457f73409cd967e5d.tar.gz rust-2d82b4a2b7ea6612b937dc4457f73409cd967e5d.zip | |
removed entry for bindings after at in unstable book
| -rw-r--r-- | src/doc/unstable-book/src/language-features/bindings-after-at.md | 23 |
1 files changed, 0 insertions, 23 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 deleted file mode 100644 index cc97caba444..00000000000 --- a/src/doc/unstable-book/src/language-features/bindings-after-at.md +++ /dev/null @@ -1,23 +0,0 @@ -# `bindings_after_at` - -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`. - -```rust -#![feature(bindings_after_at)] - -struct Point { - x: i32, - y: i32, -} - -fn main() { - let point@ Point{x: px, y: py} = Point {x: 12, y: 34}; -} -``` |
