Skip to content

Commit

Permalink
Fix broken IdentFragment link in format_ident doc
Browse files Browse the repository at this point in the history
    warning: unresolved link to `IdentFragment`
      --> src/format.rs:13:16
       |
    13 | /// * `{}` ⇒ [`IdentFragment`]
       |                ^^^^^^^^^^^^^ no item named `IdentFragment` in scope
       |
       = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default
       = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`

    warning: unresolved link to `IdentFragment`
      --> src/format.rs:25:45
       |
    25 | /// Unlike `format!`, this macro uses the [`IdentFragment`] formatting trait by
       |                                             ^^^^^^^^^^^^^ no item named `IdentFragment` in scope
       |
       = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]`
  • Loading branch information
dtolnay committed Dec 27, 2021
1 parent 703c1ca commit b276b1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/format.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
/// unsigned integers and strings.
/// * [`Ident`] arguments will have their `r#` prefixes stripped, if present.
///
/// [`IdentFragment`]: crate::IdentFragment
/// [`Ident`]: proc_macro2::Ident
///
/// <br>
Expand Down

0 comments on commit b276b1b

Please sign in to comment.