]> git.lizzy.rs Git - rust.git/commit - src/tools/clippy
Auto merge of #61008 - GuillaumeGomez:fix-rustdoc-code-highlighting, r=Manishearth
authorbors <bors@rust-lang.org>
Mon, 3 Jun 2019 00:02:34 +0000 (00:02 +0000)
committerbors <bors@rust-lang.org>
Mon, 3 Jun 2019 00:02:34 +0000 (00:02 +0000)
commit3a6bef0cbd01227bbcf593e8504164120a984fdc
treefd192e7b7072ecdfa96910672ebc6e25829895cf
parent607aadcb77e71e23a049bc37f7e480c1edaa3ea0
parent8ca388743927547a23e512ecccb66d87ab024043
Auto merge of #61008 - GuillaumeGomez:fix-rustdoc-code-highlighting, r=Manishearth

Fix lines highlighting in rustdoc source view

Fixes #60948.

This PR fixes how we handle the lines highlighting from the URL (so in "/doc/src/alloc/string.rs.html#285-283", the "285-283" part). We got a hard limit on 50000, for some unknown and lost reasons which was used in case only one line is selected.

r? @Manishearth