Skip to content

Commit 98096fe

Browse files
authored
Merge pull request rust-lang#19139 from Wilfred/fix_assists_urls
manual: Fix URLs to rustdoc pages
2 parents 8453e14 + d695e33 commit 98096fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ impl fmt::Display for Location {
117117
let path = self.file.strip_prefix(project_root()).unwrap().display().to_string();
118118
let path = path.replace('\\', "/");
119119
let name = self.file.file_name().unwrap();
120-
write!(f, " [{}]({}#{}) ", name.to_str().unwrap(), path, self.line)
120+
write!(f, " [{}](/{}#{}) ", name.to_str().unwrap(), path, self.line)
121121
}
122122
}
123123

0 commit comments

Comments
 (0)