rust/src/librustdoc
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
..
clean rustc: switch most remaining middle::ty functions to methods. 2015-06-26 07:34:57 +03:00
html Use vec![elt; n] where possible 2015-07-09 11:05:32 +02:00
core.rs Auto merge of #26417 - brson:feature-err, r=steveklabnik 2015-06-20 14:24:19 +00:00
doctree.rs syntax: parse const fn for free functions and inherent methods. 2015-05-21 11:47:30 -04:00
externalfiles.rs Add generic conversion traits 2015-03-23 15:01:45 -07:00
flock.rs Add netbsd amd64 support 2015-07-01 19:09:14 -07:00
fold.rs rustdoc: Run external traits through filters 2015-04-07 17:54:33 -07:00
lib.rs More test fixes and fallout of stability changes 2015-06-17 09:07:17 -07:00
markdown.rs Positive case of len() -> is_empty() 2015-04-14 20:26:03 -07:00
passes.rs Structural changes for associated constants 2015-04-23 21:02:25 -06:00
plugins.rs Replace usage of String::from_str with String:from 2015-06-08 16:55:35 +02:00
test.rs Removed many pointless calls to *iter() and iter_mut() 2015-06-10 21:14:03 +01:00
visit_ast.rs rustc: enforce stack discipline on ty::ctxt. 2015-06-19 01:18:42 +03:00