-
Notifications
You must be signed in to change notification settings - Fork 13.6k
Closed
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.
Description
When selecting Rust source code with either the latest stable or the latest nightly, the following is seen:
main-20190703-1.36.0-a53f9df32.js:1 Uncaught TypeError: window.hashchange is not a function
at set_fragment (main-20190703-1.36.0-a53f9df32.js:1)
at HTMLDocument.document.onclick (main-20190703-1.36.0-a53f9df32.js:1)
e.g. see https://docs.rs/ensure/0.2.1/src/ensure/lib.rs.html#11 and try and select some lines
Suspect that https://github.com/rust-lang/rust/blob/master/src/librustdoc/html/static/main.js#L347 should be highlightSourceLines(null)
.
Metadata
Metadata
Assignees
Labels
C-bugCategory: This is a bug.Category: This is a bug.T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.Relevant to the rustdoc team, which will review and decide on the PR/issue.