about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSteve Klabnik <steve@steveklabnik.com>2014-10-07 15:01:26 -0400
committerSteve Klabnik <steve@steveklabnik.com>2014-10-07 15:01:26 -0400
commit3610f8fdc2ae7dac88fe3dd4e914b511ca7e5f83 (patch)
tree348dfdc683bc483f6c971ff27d7777a94f7b0d8c /src
parent95090922b376530e356e5160faef50bee18761da (diff)
downloadrust-3610f8fdc2ae7dac88fe3dd4e914b511ca7e5f83.tar.gz
rust-3610f8fdc2ae7dac88fe3dd4e914b511ca7e5f83.zip
Fix keyword table
Markdown tables require a header, and we don't want one.

Fixes #17528
Diffstat (limited to 'src')
-rw-r--r--src/doc/reference.md3
-rw-r--r--src/doc/rust.css2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md
index a9e247ab93b..984eba67168 100644
--- a/src/doc/reference.md
+++ b/src/doc/reference.md
@@ -187,6 +187,8 @@ grammar as double-quoted strings. Other tokens have exact rules given.
 
 The keywords are the following strings, organized by first letter:
 
+<div id="keywords">
+|          |        |        |       |
 |----------|--------|--------|-------|
 | as       |        |        |       |
 |----------|--------|--------|-------|
@@ -216,6 +218,7 @@ The keywords are the following strings, organized by first letter:
 |----------|--------|--------|-------|
 | while    |        |        |       |
 |----------|--------|--------|-------|
+</div>
 
 Each of these keywords has special meaning in its grammar, and all of them are
 excluded from the `ident` rule.
diff --git a/src/doc/rust.css b/src/doc/rust.css
index 22e360d2015..b615c392bd5 100644
--- a/src/doc/rust.css
+++ b/src/doc/rust.css
@@ -392,3 +392,5 @@ pre.rust { position: relative; }
         background-color: #fff !important;
     }
 }
+
+#keywords table td { border: none; }