From c3e3b7f11985204f9219812b83c49c56e289509f Mon Sep 17 00:00:00 2001 From: LeSeulArtichaut Date: Sat, 22 Aug 2020 22:29:43 +0200 Subject: [PATCH] Use intra-doc link in `proc_macro` --- library/proc_macro/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/proc_macro/src/lib.rs b/library/proc_macro/src/lib.rs index de3866d92fc..c5a871e09a6 100644 --- a/library/proc_macro/src/lib.rs +++ b/library/proc_macro/src/lib.rs @@ -451,7 +451,7 @@ impl SourceFile { /// Also note that even if `is_real` returns `true`, if `--remap-path-prefix` was passed on /// the command line, the path as given may not actually be valid. /// - /// [`is_real`]: #method.is_real + /// [`is_real`]: Self::is_real #[unstable(feature = "proc_macro_span", issue = "54725")] pub fn path(&self) -> PathBuf { PathBuf::from(self.0.path())