1
Fork 0

convert remaining range(a, b) to a..b

This commit is contained in:
Jorge Aparicio 2015-01-26 16:05:07 -05:00
parent 7d661af9c8
commit efc97a51ff
48 changed files with 101 additions and 102 deletions

View file

@ -1500,7 +1500,7 @@ fn item_module(w: &mut fmt::Formatter, cx: &Context,
item: &clean::Item, items: &[clean::Item]) -> fmt::Result {
try!(document(w, item));
let mut indices = range(0, items.len()).filter(|i| {
let mut indices = (0..items.len()).filter(|i| {
!cx.ignore_private_item(&items[*i])
}).collect::<Vec<uint>>();