Skip to content

Commit c55ad62

Browse files
authored
Merge pull request rust-lang#19186 from joshrotenberg/fix-source-link-line-anchor
doc: missed the L for the line number
2 parents 1ad2fa8 + d50c449 commit c55ad62

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/rust-analyzer/xtask/src/codegen.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ impl fmt::Display for Location {
119119
let name = self.file.file_name().unwrap();
120120
write!(
121121
f,
122-
" [{}](https://github.com/rust-lang/rust-analyzer/blob/master/{}#{}) ",
122+
" [{}](https://github.com/rust-lang/rust-analyzer/blob/master/{}#L{}) ",
123123
name.to_str().unwrap(),
124124
path,
125125
self.line

0 commit comments

Comments
 (0)