about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--src/tools/rust-analyzer/xtask/src/codegen.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/xtask/src/codegen.rs b/src/tools/rust-analyzer/xtask/src/codegen.rs
index 58a3fb64415..8165a2a12b0 100644
--- a/src/tools/rust-analyzer/xtask/src/codegen.rs
+++ b/src/tools/rust-analyzer/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