Skip to content

Commit

Permalink
Link to parse module using an intra rustdoc link
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Sep 24, 2022
1 parent c1d6739 commit 620852b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/parse_macro_input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/// Refer to the [`parse` module] documentation for more details about parsing
/// in Syn.
///
/// [`parse` module]: parse/index.html
/// [`parse` module]: mod@crate::parse
///
/// <br>
///
Expand Down Expand Up @@ -51,7 +51,7 @@
/// This macro can also be used with the [`Parser` trait] for types that have
/// multiple ways that they can be parsed.
///
/// [`Parser` trait]: parse/trait.Parser.html
/// [`Parser` trait]: crate::parse::Parser
///
/// ```
/// # extern crate proc_macro;
Expand Down Expand Up @@ -103,9 +103,6 @@
/// # proc_macro::TokenStream::new()
/// # }
/// ```
//
// TODO: change the parse module link to an intra rustdoc link, currently
// blocked on https://github.com/rust-lang/rust/issues/62830
#[macro_export]
#[cfg_attr(doc_cfg, doc(cfg(all(feature = "parsing", feature = "proc-macro"))))]
macro_rules! parse_macro_input {
Expand Down

0 comments on commit 620852b

Please sign in to comment.