We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b7c3f2 commit f1cf2a6Copy full SHA for f1cf2a6
src/librustdoc/html/render.rs
@@ -1454,7 +1454,7 @@ impl<'a> Item<'a> {
1454
// has anchors for the line numbers that we're linking to.
1455
} else if self.item.def_id.is_local() {
1456
self.cx.local_sources.get(&PathBuf::from(&self.item.source.filename)).map(|path| {
1457
- format!("{root}src/{krate}/{path}.html#{href}",
+ format!("{root}src/{krate}/{path}#{href}",
1458
root = self.cx.root_path,
1459
krate = self.cx.layout.krate,
1460
path = path,
0 commit comments