about summary refs log tree commit diff
path: root/src/librustdoc/html/static/source-script.js
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2021-05-10 20:05:26 +0200
committerGitHub <noreply@github.com>2021-05-10 20:05:26 +0200
commit3962541dcb4a0e8c6926ea9f426a57f4cde20513 (patch)
treee81177dfd7334a89dfedad29436cbee16ef6ca40 /src/librustdoc/html/static/source-script.js
parentc7e7de4021089598f16dbe90dbcccebbdcd31216 (diff)
parent4e3fb6858ad46767c021174d7bbe6e14a44e22aa (diff)
downloadrust-3962541dcb4a0e8c6926ea9f426a57f4cde20513.tar.gz
rust-3962541dcb4a0e8c6926ea9f426a57f4cde20513.zip
Rollup merge of #85148 - GuillaumeGomez:source-code-line-number, r=jsha
Fix source code line number display and make it clickable again

Fixes https://github.com/rust-lang/rust/issues/85119.

I used the same logic we're using for other codeblocks: putting the line number `<span>`s into the `example-wrap` directly and then add `display: inline-flex` on `example-wrap`.

r? `@jsha`
Diffstat (limited to 'src/librustdoc/html/static/source-script.js')
0 files changed, 0 insertions, 0 deletions