diff --git a/units/src/parse.rs b/units/src/parse.rs index 4ad750acc..49f4064b7 100644 --- a/units/src/parse.rs +++ b/units/src/parse.rs @@ -117,6 +117,7 @@ pub fn int + Into>(s: S) -> Result { $crate::impl_tryfrom_str_from_int_infallible!(&str, $to, $inner, $fn); @@ -174,6 +175,7 @@ macro_rules! impl_tryfrom_str_from_int_infallible { /// /// All functions use the error returned by `$inner_fn`. #[macro_export] +#[doc(hidden)] // This is an 'internal' macro that should not be used outside of the `rust-bitcoin` crate. macro_rules! impl_parse_str { ($to:ty, $err:ty, $inner_fn:expr) => { $crate::impl_tryfrom_str!(&str, $to, $err, $inner_fn);