diff options
| author | Mukund Lakshman <yaymukund@gmail.com> | 2021-10-01 06:17:15 -0400 |
|---|---|---|
| committer | Mukund Lakshman <yaymukund@gmail.com> | 2021-10-04 05:01:04 -0400 |
| commit | a8a40ea9a4947a7b46421564517ee2aa4e3711f0 (patch) | |
| tree | b636e1f880c0f4aa70866dbc99e60621b2e80664 /src/tools/error_index_generator | |
| parent | e737694a4d66b01308b73d4559a35b43e414faf9 (diff) | |
| download | rust-a8a40ea9a4947a7b46421564517ee2aa4e3711f0.tar.gz rust-a8a40ea9a4947a7b46421564517ee2aa4e3711f0.zip | |
librustdoc: Use correct heading levels.
- Avoid multiple <h1>s on a page. - The <h#> tags should follow a semantic hierarchy. - Cap at h6 (no h7)
Diffstat (limited to 'src/tools/error_index_generator')
| -rw-r--r-- | src/tools/error_index_generator/main.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/error_index_generator/main.rs b/src/tools/error_index_generator/main.rs index 01a3fc812b2..1ba283b1781 100644 --- a/src/tools/error_index_generator/main.rs +++ b/src/tools/error_index_generator/main.rs @@ -125,7 +125,8 @@ impl Formatter for HTMLFormatter { &mut id_map, ErrorCodes::Yes, DEFAULT_EDITION, - &Some(playground) + &Some(playground), + 0 ) .into_string() )? |
