Skip to content

Commit

Permalink
Fix keyword table
Browse files Browse the repository at this point in the history
Markdown tables require a header, and we don't want one.

Fixes #17528
  • Loading branch information
steveklabnik committed Oct 7, 2014
1 parent 9509092 commit 3610f8f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/doc/reference.md
Expand Up @@ -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 | | | |
|----------|--------|--------|-------|
Expand Down Expand Up @@ -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.
Expand Down
2 changes: 2 additions & 0 deletions src/doc/rust.css
Expand Up @@ -392,3 +392,5 @@ pre.rust { position: relative; }
background-color: #fff !important;
}
}

#keywords table td { border: none; }

5 comments on commit 3610f8f

@bors
Copy link
Contributor

@bors bors commented on 3610f8f Oct 8, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

saw approval from alexcrichton
at steveklabnik@3610f8f

@bors
Copy link
Contributor

@bors bors commented on 3610f8f Oct 8, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

merging steveklabnik/rust/fix_table_reference = 3610f8f into auto

@bors
Copy link
Contributor

@bors bors commented on 3610f8f Oct 8, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

steveklabnik/rust/fix_table_reference = 3610f8f merged ok, testing candidate = eb2240a

@bors
Copy link
Contributor

@bors bors commented on 3610f8f Oct 8, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bors
Copy link
Contributor

@bors bors commented on 3610f8f Oct 8, 2014

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fast-forwarding master to auto = eb2240a

Please sign in to comment.