mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 11:31:15 +00:00
Merge pull request #19186 from joshrotenberg/fix-source-link-line-anchor
doc: missed the L for the line number
This commit is contained in:
commit
1d1da786c9
@ -119,7 +119,7 @@ impl fmt::Display for Location {
|
|||||||
let name = self.file.file_name().unwrap();
|
let name = self.file.file_name().unwrap();
|
||||||
write!(
|
write!(
|
||||||
f,
|
f,
|
||||||
" [{}](https://github.com/rust-lang/rust-analyzer/blob/master/{}#{}) ",
|
" [{}](https://github.com/rust-lang/rust-analyzer/blob/master/{}#L{}) ",
|
||||||
name.to_str().unwrap(),
|
name.to_str().unwrap(),
|
||||||
path,
|
path,
|
||||||
self.line
|
self.line
|
||||||
|
Loading…
x
Reference in New Issue
Block a user