aboutsummaryrefslogtreecommitdiff
path: root/src/format.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/format.rs')
-rw-r--r--src/format.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/format.rs b/src/format.rs
index e7d7088..13c8811 100644
--- a/src/format.rs
+++ b/src/format.rs
@@ -1,5 +1,7 @@
/// Formatting macro for constructing `Ident`s.
///
+/// <br>
+///
/// # Syntax
///
/// Syntax is copied from the [`format!`] macro, supporting both positional and
@@ -16,6 +18,8 @@
///
/// See [`std::fmt`] for more information.
///
+/// <br>
+///
/// # IdentFragment
///
/// Unlike `format!`, this macro uses the [`IdentFragment`] formatting trait by
@@ -27,6 +31,8 @@
///
/// [`Ident`]: `proc_macro2::Ident`
///
+/// <br>
+///
/// # Hygiene
///
/// The [`Span`] of the first `Ident` argument is used as the span of the final
@@ -56,11 +62,15 @@
/// [`Span`]: `proc_macro2::Span`
/// [`Span::call_site`]: `proc_macro2::Span::call_site`
///
+/// <p><br></p>
+///
/// # Panics
///
/// This method will panic if the resulting formatted string is not a valid
/// identifier.
///
+/// <br>
+///
/// # Examples
///
/// Composing raw and non-raw identifiers: