Skip to content

Commit 04927a2

Browse files
committed
---
yaml --- r: 159165 b: refs/heads/snap-stage3 c: 60741e0 h: refs/heads/master i: 159163: a33ca99 v: v3
1 parent 4b5b34b commit 04927a2

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: 40fb87d40f681f5356af42175fc7b85da387f037
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 4caffa8526b2d359aff853964b08aebb9683bcdb
4+
refs/heads/snap-stage3: 60741e0fa0948c75040d0d554b46027021185600
55
refs/heads/try: f58aad6dce273570fb130b4df008ef9acd5a5be2
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,13 +146,12 @@ fn summarize_item(item: &Item) -> (Counts, Option<ModuleSummary>) {
146146
// considered to have no children.
147147
match item.inner {
148148
// Require explicit `pub` to be visible
149-
StructItem(Struct { fields: ref subitems, .. }) |
150149
ImplItem(Impl { items: ref subitems, trait_: None, .. }) => {
151150
let subcounts = subitems.iter().filter(|i| visible(*i))
152151
.map(summarize_item)
153152
.map(|s| s.val0())
154153
.fold(Counts::zero(), |acc, x| acc + x);
155-
(item_counts + subcounts, None)
154+
(subcounts, None)
156155
}
157156
// `pub` automatically
158157
EnumItem(Enum { variants: ref subitems, .. }) => {

0 commit comments

Comments
 (0)