Commit 76c35a1
committed
Auto merge of rust-lang#159779 - camelid:even-better-impls, r=GuillaumeGomez
rustdoc: Only synthesize auto/blanket impls for documented items
Previously, the code would skip synthesizing impls if the *trait* was
not documented, but it would still synthesize even if the *type* was not
documented. This is wasted work.1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
168 | 168 | | |
169 | 169 | | |
170 | 170 | | |
| 171 | + | |
171 | 172 | | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
| |||
0 commit comments