Skip to content

Commit a0a4af5

Browse files
author
Jorge Aparicio
committed
---
yaml --- r: 163257 b: refs/heads/snap-stage3 c: ca001e1 h: refs/heads/master i: 163255: 584079f v: v3
1 parent 2540cf0 commit a0a4af5

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 9146a919b616e39e528e4d7100d16eef52f1f852
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: c3fe7105ba4362bce7f795f4502163bcec039d74
4+
refs/heads/snap-stage3: ca001e1bd0accdfe285c50918d1d48730d124999
55
refs/heads/try: 20cbbffeefc1f35e2ea63afce7b42fbd79611d42
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/librustdoc/fold.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,7 @@ pub trait DocFolder {
7979
StructVariant(mut j) => {
8080
let mut foo = Vec::new(); swap(&mut foo, &mut j.fields);
8181
let num_fields = foo.len();
82-
let c = |x| self.fold_item(x);
83-
j.fields.extend(foo.into_iter().filter_map(c));
82+
j.fields.extend(foo.into_iter().filter_map(|x| self.fold_item(x)));
8483
j.fields_stripped |= num_fields != j.fields.len();
8584
VariantItem(Variant {kind: StructVariant(j), ..i2})
8685
},

0 commit comments

Comments
 (0)