rust/src/librustdoc/html
Ulrik Sverdrup 836f32e769 Use vec![elt; n] where possible
The common pattern `iter::repeat(elt).take(n).collect::<Vec<_>>()` is
exactly equivalent to `vec![elt; n]`, do this replacement in the whole
tree.

(Actually, vec![] is smart enough to only call clone n - 1 times, while
the former solution would call clone n times, and this fact is
virtually irrelevant in practice.)
2015-07-09 11:05:32 +02:00
..
static rustdoc: Update jQuery from 2.1.0 to 2.1.4 2015-07-01 23:54:55 -04:00
escape.rs cleanup: replace as[_mut]_slice() calls with deref coercions 2015-02-05 13:45:01 -05:00
format.rs Replace usage of String::from_str with String:from 2015-06-08 16:55:35 +02:00
highlight.rs syntax: replace sess.span_diagnostic.cm with sess.codemap(). 2015-05-14 01:47:56 +03:00
item_type.rs Structural changes for associated constants 2015-04-23 21:02:25 -06:00
layout.rs Add note about type signature searching to docs 2015-05-06 15:22:35 +03:00
markdown.rs Fix order of rustdoc arguments. 2015-06-04 18:03:51 -04:00
render.rs Use vec![elt; n] where possible 2015-07-09 11:05:32 +02:00
toc.rs Replace usage of String::from_str with String:from 2015-06-08 16:55:35 +02:00