diff options
| author | Jonathan Goodman <goodmanjonathan@sbcglobal.net> | 2018-01-30 14:56:02 -0600 |
|---|---|---|
| committer | Jonathan Goodman <goodmanjonathan@sbcglobal.net> | 2018-01-30 16:00:55 -0600 |
| commit | a99b5db56a36652185a91be630b3e2af8ea09360 (patch) | |
| tree | 513ac108655720f14ba9d38dd9fa0f65a1e6b947 /src/doc | |
| parent | def3269a71be2e737cad27418a3dad9f5bd6cd32 (diff) | |
| download | rust-a99b5db56a36652185a91be630b3e2af8ea09360.tar.gz rust-a99b5db56a36652185a91be630b3e2af8ea09360.zip | |
stabilize match_beginning_vert
Diffstat (limited to 'src/doc')
| -rw-r--r-- | src/doc/unstable-book/src/language-features/match-beginning-vert.md | 23 |
1 files changed, 0 insertions, 23 deletions
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 |
