From a99b5db56a36652185a91be630b3e2af8ea09360 Mon Sep 17 00:00:00 2001 From: Jonathan Goodman Date: Tue, 30 Jan 2018 14:56:02 -0600 Subject: stabilize match_beginning_vert --- .../src/language-features/match-beginning-vert.md | 23 ---------------------- 1 file changed, 23 deletions(-) delete mode 100644 src/doc/unstable-book/src/language-features/match-beginning-vert.md (limited to 'src/doc') diff --git a/src/doc/unstable-book/src/language-features/match-beginning-vert.md b/src/doc/unstable-book/src/language-features/match-beginning-vert.md deleted file mode 100644 index f0a51af7fd1..00000000000 --- a/src/doc/unstable-book/src/language-features/match-beginning-vert.md +++ /dev/null @@ -1,23 +0,0 @@ -# `match_beginning_vert` - -The tracking issue for this feature is [#44101]. - -With this feature enabled, you are allowed to add a '|' to the beginning of a -match arm: - -```rust -#![feature(match_beginning_vert)] - -enum Foo { A, B, C } - -fn main() { - let x = Foo::A; - match x { - | Foo::A - | Foo::B => println!("AB"), - | Foo::C => println!("C"), - } -} -``` - -[#44101]: https://github.com/rust-lang/rust/issues/44101 \ No newline at end of file -- cgit 1.4.1-3-g733a5