]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #34234 - GuillaumeGomez:bad_inlining, r=steveklabnik
authorbors <bors@rust-lang.org>
Tue, 14 Jun 2016 14:49:56 +0000 (07:49 -0700)
committerGitHub <noreply@github.com>
Tue, 14 Jun 2016 14:49:56 +0000 (07:49 -0700)
Fix invalid inlining

r? @steveklabnik

So to put a context. @nox found an issue on the generated doc:

![screenshot from 2016-06-11 19-53-38](https://cloud.githubusercontent.com/assets/3050060/15987898/f7341de0-303b-11e6-9cd7-f2a6df423ee7.png)

So as you can see, the two variants are on the same where they shouldn't. I found out that the issue is also on structs:

![screenshot from 2016-06-11 19-53-31](https://cloud.githubusercontent.com/assets/3050060/15987900/0f66c5de-303c-11e6-90fc-5e49d11b6903.png)

And so such is the result of the PR:

![screenshot from 2016-06-12 01-15-21](https://cloud.githubusercontent.com/assets/3050060/15987904/19d9183c-303c-11e6-91c1-7c3f1163fbb0.png)
![screenshot from 2016-06-12 01-15-24](https://cloud.githubusercontent.com/assets/3050060/15987905/1b5d2db0-303c-11e6-8f43-9a8ad2371007.png)

1  2 
src/librustdoc/html/render.rs

Simple merge