about summary refs log tree commit diff
diff options
context:
space:
mode:
authorLaurențiu Nicola <lnicola@users.noreply.github.com>2025-02-20 07:06:13 +0000
committerGitHub <noreply@github.com>2025-02-20 07:06:13 +0000
commitc55ad623b61778d1856aac82b59b65878e19ac38 (patch)
tree11ed8f14da4ed5e7fda69f9a26b000613de0c926
parent1ad2fa8d8a67794065eac2f1e947ea9118aacea4 (diff)
parentd50c4496174767a32d01df07ea5075b67eb57d18 (diff)
downloadrust-c55ad623b61778d1856aac82b59b65878e19ac38.tar.gz
rust-c55ad623b61778d1856aac82b59b65878e19ac38.zip
Merge pull request #19186 from joshrotenberg/fix-source-link-line-anchor
doc: missed the L for the line number
-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