Unnamed repository; edit this file 'description' to name the repository.
Merge pull request #19186 from joshrotenberg/fix-source-link-line-anchor
doc: missed the L for the line number
Laurențiu Nicola 2025-02-20
parent 9691da7 · parent 5968782 · commit 1d1da78
-rw-r--r--xtask/src/codegen.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/xtask/src/codegen.rs b/xtask/src/codegen.rs
index 58a3fb6441..8165a2a12b 100644
--- a/xtask/src/codegen.rs
+++ b/xtask/src/codegen.rs
@@ -119,7 +119,7 @@ impl fmt::Display for Location {
let name = self.file.file_name().unwrap();
write!(
f,
- " [{}](https://github.com/rust-lang/rust-analyzer/blob/master/{}#{}) ",
+ " [{}](https://github.com/rust-lang/rust-analyzer/blob/master/{}#L{}) ",
name.to_str().unwrap(),
path,
self.line