Use intra-doc link in `proc_macro`
This commit is contained in:
parent
5528caf914
commit
c3e3b7f119
|
@ -451,7 +451,7 @@ impl SourceFile {
|
||||||
/// Also note that even if `is_real` returns `true`, if `--remap-path-prefix` was passed on
|
/// 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.
|
/// 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")]
|
#[unstable(feature = "proc_macro_span", issue = "54725")]
|
||||||
pub fn path(&self) -> PathBuf {
|
pub fn path(&self) -> PathBuf {
|
||||||
PathBuf::from(self.0.path())
|
PathBuf::from(self.0.path())
|
||||||
|
|
Loading…
Reference in New Issue