about summary refs log tree commit diff
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2017-02-15 18:32:49 -0500
committerSteve Klabnik <steve@steveklabnik.com>2017-02-21 21:12:54 -0500
commitaba4bf60f5129af31ef7271e3499dadaadd2071d (patch)
tree102f668dc25bff96c8a73baaa3a4aa189b26b122
parentf16c48e713b321c76b58a225a69c248fe3baee05 (diff)
downloadrust-aba4bf60f5129af31ef7271e3499dadaadd2071d.tar.gz
rust-aba4bf60f5129af31ef7271e3499dadaadd2071d.zip
write intro
-rw-r--r--src/doc/unstable-book/src/the-unstable-book.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/doc/unstable-book/src/the-unstable-book.md b/src/doc/unstable-book/src/the-unstable-book.md
index 022f57b7ee5..dfbfe4cab97 100644
--- a/src/doc/unstable-book/src/the-unstable-book.md
+++ b/src/doc/unstable-book/src/the-unstable-book.md
@@ -1,2 +1,22 @@
 # The Unstable Book
 
+Welcome to the Unstable Book! This book consists of a number of chapters,
+each one organized by a "feature flag." That is, when using an unstable
+feature of Rust, you must use a flag, like this:
+
+```rust
+#![feature(box_syntax)]
+
+fn main() {
+    let five = box 5;
+}
+```
+
+The `box_syntax` feature [has a chapter][box] describing how to use it.
+
+[box]: box-syntax.html
+
+Because this documentation relates to unstable features, we make no guarantees
+that what is contained here is accurate or up to date. It's developed on a
+best-effort basis. Each page will have a link to its tracking issue with the
+latest developments; you might want to check those as well.