rust/src/librustdoc/html
Noah Lev 74147b86c5 Use the length limit as the initial capacity
The length limit turns out to be a surprisingly good heuristic for
initial allocation size. See here for more details [1].

[1]: https://github.com/rust-lang/rust/pull/88173#discussion_r692531631
2021-08-21 16:58:29 -07:00
..
highlight Fix invalid generation of HTML in highlight 2021-08-05 23:08:29 +02:00
markdown Escape item search summaries 2021-07-24 17:15:01 -07:00
render Rollup merge of #87178 - moxian:rd-use, r=jyn514 2021-08-16 23:37:25 +02:00
static Rollup merge of #88111 - GuillaumeGomez:background-color-jump-to-def, r=jhpratt 2021-08-18 19:55:03 +02:00
templates Updates favicon order of precedence as it matters to Chrome 2021-08-12 21:08:14 -07:00
toc Format the world 2019-12-22 17:42:47 -05:00
escape.rs rustdoc tweaking 2021-01-30 01:02:18 +00:00
format.rs Add missing root_path when generating links using href 2021-08-05 23:08:29 +02:00
highlight.rs Remove LightSpan and use Span directly 2021-08-05 23:08:29 +02:00
layout.rs Use Tera templates for rustdoc. 2021-06-20 23:07:28 -07:00
length_limit.rs Use the length limit as the initial capacity 2021-08-21 16:58:29 -07:00
markdown.rs Use the length limit as the initial capacity 2021-08-21 16:58:29 -07:00
mod.rs Refactor Markdown length-limited summary implementation 2021-08-19 16:22:54 -07:00
sources.rs Remove LightSpan and use Span directly 2021-08-05 23:08:29 +02:00
static_files.rs Simplify usage of CSS background-image 2021-08-03 20:03:07 +02:00
tests.rs rustdoc: use more precise relative URLS 2021-04-17 09:21:52 -07:00
toc.rs clippy fixes for librustdoc 2021-01-01 21:19:10 +01:00