Skip to content

Commit

Permalink
Merge pull request #1114 from dtolnay/punctuatedlink
Browse files Browse the repository at this point in the history
Rely on rustdoc to resolve Punctuated<T, P> to an intra doc link
  • Loading branch information
dtolnay authored Dec 26, 2021
2 parents 31c0ba6 + 008cb17 commit 002a247
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/parse_quote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,17 +58,13 @@
/// `P` with optional trailing punctuation
/// - [`Vec<Stmt>`] — parses the same as `Block::parse_within`
///
/// [`Punctuated<T, P>`]: crate::punctuated::Punctuated
/// [`Vec<Stmt>`]: Block::parse_within
///
/// # Panics
///
/// 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 {
Expand Down

0 comments on commit 002a247

Please sign in to comment.