Skip to content

Commit eb2240a

Browse files
committed
auto merge of #17855 : steveklabnik/rust/fix_table_reference, r=alexcrichton
Markdown tables require a header, and we don't want one. Fixes #17528
2 parents bc649ba + 3610f8f commit eb2240a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/doc/reference.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,8 @@ grammar as double-quoted strings. Other tokens have exact rules given.
187187

188188
The keywords are the following strings, organized by first letter:
189189

190+
<div id="keywords">
191+
| | | | |
190192
|----------|--------|--------|-------|
191193
| as | | | |
192194
|----------|--------|--------|-------|
@@ -216,6 +218,7 @@ The keywords are the following strings, organized by first letter:
216218
|----------|--------|--------|-------|
217219
| while | | | |
218220
|----------|--------|--------|-------|
221+
</div>
219222

220223
Each of these keywords has special meaning in its grammar, and all of them are
221224
excluded from the `ident` rule.

src/doc/rust.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -392,3 +392,5 @@ pre.rust { position: relative; }
392392
background-color: #fff !important;
393393
}
394394
}
395+
396+
#keywords table td { border: none; }

0 commit comments

Comments
 (0)