From 3a9bc71cb0dfab98bf8974c8ed1be5a4d6950830 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Wed, 19 Feb 2025 22:32:49 -0800 Subject: [PATCH] Convert html links to intra-doc links --- src/lib.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index b6df877..dd01573 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -9,8 +9,6 @@ //! A wrapper around the procedural macro API of the compiler's [`proc_macro`] //! crate. This library serves two purposes: //! -//! [`proc_macro`]: https://doc.rust-lang.org/proc_macro/ -//! //! - **Bring proc-macro-like functionality to other contexts like build.rs and //! main.rs.** Types from `proc_macro` are entirely specific to procedural //! macros and cannot ever exist in code outside of a procedural macro. @@ -532,8 +530,6 @@ impl Span { /// Warning: the underlying [`proc_macro::Span::join`] method is /// nightly-only. When called from within a procedural macro not using a /// nightly compiler, this method will always return `None`. - /// - /// [`proc_macro::Span::join`]: https://doc.rust-lang.org/proc_macro/struct.Span.html#method.join pub fn join(&self, other: Span) -> Option { self.inner.join(other.inner).map(Span::_new) } @@ -1296,8 +1292,6 @@ impl Literal { /// Warning: the underlying [`proc_macro::Literal::subspan`] method is /// nightly-only. When called from within a procedural macro not using a /// nightly compiler, this method will always return `None`. - /// - /// [`proc_macro::Literal::subspan`]: https://doc.rust-lang.org/proc_macro/struct.Literal.html#method.subspan pub fn subspan>(&self, range: R) -> Option { self.inner.subspan(range).map(Span::_new) }