Commit 70a839f
authored
Rollup merge of rust-lang#79300 - GuillaumeGomez:hidden-feature-info, r=jyn514
Prevent feature information to be hidden if it's on the impl directly
Fixes rust-lang#79279.
So when a `#[doc(cfg...)]` is used on a trait impl directly, it's not hidden by the toggle.

r? `@jyn514`1 file changed
+8
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2332 | 2332 | | |
2333 | 2333 | | |
2334 | 2334 | | |
2335 | | - | |
| 2335 | + | |
| 2336 | + | |
| 2337 | + | |
| 2338 | + | |
2336 | 2339 | | |
2337 | 2340 | | |
2338 | 2341 | | |
2339 | 2342 | | |
2340 | | - | |
| 2343 | + | |
| 2344 | + | |
| 2345 | + | |
| 2346 | + | |
2341 | 2347 | | |
2342 | 2348 | | |
2343 | 2349 | | |
| |||
0 commit comments