From 3610f8fdc2ae7dac88fe3dd4e914b511ca7e5f83 Mon Sep 17 00:00:00 2001 From: Steve Klabnik Date: Tue, 7 Oct 2014 15:01:26 -0400 Subject: [PATCH] Fix keyword table Markdown tables require a header, and we don't want one. Fixes #17528 --- src/doc/reference.md | 3 +++ src/doc/rust.css | 2 ++ 2 files changed, 5 insertions(+) diff --git a/src/doc/reference.md b/src/doc/reference.md index a9e247ab93be..984eba67168a 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: +
+| | | | | |----------|--------|--------|-------| | as | | | | |----------|--------|--------|-------| @@ -216,6 +218,7 @@ The keywords are the following strings, organized by first letter: |----------|--------|--------|-------| | while | | | | |----------|--------|--------|-------| +
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 22e360d2015d..b615c392bd5e 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; }