Skip to content

Commit d794559

Browse files
committed
---
yaml --- r: 159379 b: refs/heads/master c: 60741e0 h: refs/heads/master i: 159377: 6f4d45e 159375: 760e9c9 v: v3
1 parent 6710ea0 commit d794559

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,5 +1,5 @@
11
---
2-
refs/heads/master: 4caffa8526b2d359aff853964b08aebb9683bcdb
2+
refs/heads/master: 60741e0fa0948c75040d0d554b46027021185600
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 9c96a79a74f10bed18b031ce0ac4126c56d6cfb3
55
refs/heads/try: f58aad6dce273570fb130b4df008ef9acd5a5be2

trunk/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)