Skip to content

Rustdoc doesn't allow to navigate to lines after 50000 #60948

Closed
@Riateche

Description

@Riateche

When I click on the [src] link of a function in the rendered documentation, if the function's line number is greater than 50000, the browser navigates to line 50000 instead of the proper location. I found the relevant code here:

to = Math.min(50000, parseInt(match[2] || match[1], 10));

What's the rationale behind this limitation? Can it be lifted?

Metadata

Metadata

Labels

T-rustdocRelevant to the rustdoc team, which will review and decide on the PR/issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions