Rollup merge of #56476 - GuillaumeGomez:invalid-line-number-match, r=QuietMisdreavus

Fix invalid line number match

If a code line is longer than the width, it then gets to the next line making the line number not matching it anymore.

r? @QuietMisdreavus
This commit is contained in:
Pietro Albini 2018-12-05 23:54:34 +01:00 committed by GitHub
commit d07d299cba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,7 +135,6 @@ summary {
code, pre {
font-family: "Source Code Pro", monospace;
white-space: pre-wrap;
}
.docblock code, .docblock-short code {
border-radius: 3px;
@ -303,6 +302,7 @@ nav.sub {
:not(.source) .example-wrap > pre.rust {
width: 100%;
overflow-x: auto;
}
body:not(.source) .example-wrap > pre {