about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-08-24 02:18:09 +0000
committerbors <bors@rust-lang.org>2020-08-24 02:18:09 +0000
commita962b692a6bb6490fcf979e345c404f40ca491cc (patch)
tree9ad0aed2685f6cc5ed9e4f7e88a99bd9fabbb595
parent8fdce9bbb9eb25defd9429cc5122fe6eb59f5ffd (diff)
parentc3e3b7f11985204f9219812b83c49c56e289509f (diff)
downloadrust-a962b692a6bb6490fcf979e345c404f40ca491cc.tar.gz
rust-a962b692a6bb6490fcf979e345c404f40ca491cc.zip
Auto merge of #75817 - LeSeulArtichaut:proc_macro-docs, r=jyn514
Use intra-doc link in `proc_macro`

Yep. One link.

Helps with #75080.
r? @jyn514
-rw-r--r--library/proc_macro/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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())