File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -276,7 +276,7 @@ fn write_desc(
276
276
}
277
277
278
278
fn write_sections ( ctxt : & Ctxt , sections : & [ doc:: Section ] ) {
279
- for vec :: each ( sections) |section| {
279
+ for sections. each |section| {
280
280
write_section( ctxt, copy * section) ;
281
281
}
282
282
}
@@ -439,7 +439,7 @@ fn write_variants(
439
439
440
440
write_header_ ( ctxt, H4 , ~"Variants ") ;
441
441
442
- for vec :: each ( docs) |variant| {
442
+ for docs. each |variant| {
443
443
write_variant( ctxt, copy * variant) ;
444
444
}
445
445
@@ -465,7 +465,7 @@ fn write_trait(ctxt: &Ctxt, doc: doc::TraitDoc) {
465
465
}
466
466
467
467
fn write_methods ( ctxt : & Ctxt , docs : & [ doc:: MethodDoc ] ) {
468
- for vec :: each ( docs) |doc| {
468
+ for docs. each |doc| {
469
469
write_method( ctxt, copy * doc) ;
470
470
}
471
471
}
You can’t perform that action at this time.
0 commit comments