diff options
| author | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-05-21 13:35:43 -0700 |
|---|---|---|
| committer | Dylan MacKenzie <ecstaticmorse@gmail.com> | 2020-06-28 10:08:10 -0700 |
| commit | 69a5cb15925d4e547f7c91a9558a1ca6503dceda (patch) | |
| tree | 699f9d22a2b2f552fe39769897a905237e912258 | |
| parent | d6139f76c072e281a77a5eac9ba57a0eb3a1936f (diff) | |
| download | rust-69a5cb15925d4e547f7c91a9558a1ca6503dceda.tar.gz rust-69a5cb15925d4e547f7c91a9558a1ca6503dceda.zip | |
Remove `const_if_match` from unstable book
| -rw-r--r-- | src/doc/unstable-book/src/language-features/const-if-match.md | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/doc/unstable-book/src/language-features/const-if-match.md b/src/doc/unstable-book/src/language-features/const-if-match.md deleted file mode 100644 index ee9cfcbd9de..00000000000 --- a/src/doc/unstable-book/src/language-features/const-if-match.md +++ /dev/null @@ -1,14 +0,0 @@ -# `const_if_match` - -The tracking issue for this feature is: [#49146] - -[#49146]: https://github.com/rust-lang/rust/issues/49146 - ------------------------- - -Allows for the use of conditionals (`if` and `match`) in a const context. -Const contexts include `static`, `static mut`, `const`, `const fn`, const -generics, and array initializers. Enabling this feature flag will also make -`&&` and `||` function normally in a const-context by removing the hack that -replaces them with their non-short-circuiting equivalents, `&` and `|`, in a -`const` or `static`. |
