From 008cb1704ba0a0903409dfeb73bab0d1635458e0 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 25 Dec 2021 19:02:31 -0800 Subject: [PATCH] Rely on rustdoc to resolve Punctuated to an intra doc link --- src/parse_quote.rs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/parse_quote.rs b/src/parse_quote.rs index cc283db820..2586aecf87 100644 --- a/src/parse_quote.rs +++ b/src/parse_quote.rs @@ -58,7 +58,6 @@ /// `P` with optional trailing punctuation /// - [`Vec`] — parses the same as `Block::parse_within` /// -/// [`Punctuated`]: crate::punctuated::Punctuated /// [`Vec`]: Block::parse_within /// /// # Panics @@ -66,9 +65,6 @@ /// Panics if the tokens fail to parse as the expected syntax tree type. The /// caller is responsible for ensuring that the input tokens are syntactically /// valid. -// -// TODO: allow Punctuated to be inferred as intra doc link, currently blocked on -// https://github.com/rust-lang/rust/issues/62834 #[cfg_attr(doc_cfg, doc(cfg(all(feature = "parsing", feature = "printing"))))] #[macro_export] macro_rules! parse_quote {