Merge pull request #19186 from joshrotenberg/fix-source-link-line-anchor

doc: missed the L for the line number
This commit is contained in:
Laurențiu Nicola 2025-02-20 07:06:13 +00:00 committed by GitHub
commit 1d1da786c9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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