about summary refs log tree commit diff
path: root/src/doc
diff options
context:
space:
mode:
authorOliver Schneider <git-no-reply-9879165716479413131@oli-obk.de>2018-01-29 20:46:42 +0100
committerOliver Schneider <git-spam-no-reply9815368754983@oli-obk.de>2018-03-08 08:34:14 +0100
commit45abb1ba8436efe960768b067a2683d577e16b8b (patch)
tree8859ac60c8199327a890592c851de16971443c89 /src/doc
parent600fcc71594cb74b1d3802379b5b352bcc31274c (diff)
downloadrust-45abb1ba8436efe960768b067a2683d577e16b8b.tar.gz
rust-45abb1ba8436efe960768b067a2683d577e16b8b.zip
Stabilize const_indexing feature
Diffstat (limited to 'src/doc')
-rw-r--r--src/doc/unstable-book/src/language-features/const-indexing.md19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/doc/unstable-book/src/language-features/const-indexing.md b/src/doc/unstable-book/src/language-features/const-indexing.md
deleted file mode 100644
index 42d46ce15f6..00000000000
--- a/src/doc/unstable-book/src/language-features/const-indexing.md
+++ /dev/null
@@ -1,19 +0,0 @@
-# `const_indexing`
-
-The tracking issue for this feature is: [#29947]
-
-[#29947]: https://github.com/rust-lang/rust/issues/29947
-
-------------------------
-
-The `const_indexing` feature allows the constant evaluation of index operations
-on constant arrays and repeat expressions.
-
-## Examples
-
-```rust
-#![feature(const_indexing)]
-
-const ARR: [usize; 5] = [1, 2, 3, 4, 5];
-const ARR2: [usize; ARR[1]] = [42, 99];
-```
\ No newline at end of file