From 1e5c426747c5acfe9cd67f19edb7282a53e57aad Mon Sep 17 00:00:00 2001 From: Max Heller Date: Sat, 18 Jan 2025 08:28:59 -0500 Subject: [PATCH] chore: unexport accidentally-exported macro (#153) --- src/html.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/html.rs b/src/html.rs index 791e7eb..571d13e 100644 --- a/src/html.rs +++ b/src/html.rs @@ -2,8 +2,7 @@ use crate::preprocess; pub type Parser<'book> = html5ever::Parser>; -#[macro_export] -macro_rules! html_name { +macro_rules! name { (html $name:tt) => {{ use html5ever::namespace_url; html5ever::QualName { @@ -21,4 +20,4 @@ macro_rules! html_name { } }}; } -pub use crate::html_name as name; +pub(crate) use name;