hashes: Put attribute under rustdoc

Like we do for all the other macros ptu the `macro_export` attribute
below the macro comments.
This commit is contained in:
Tobin C. Harding 2024-10-29 13:58:50 +11:00
parent 0bef101262
commit 25c4c78e26
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607
1 changed files with 1 additions and 1 deletions

View File

@ -2,8 +2,8 @@
//! Public macros. //! Public macros.
#[macro_export]
/// Adds hexadecimal formatting implementation of a trait `$imp` to a given type `$ty`. /// Adds hexadecimal formatting implementation of a trait `$imp` to a given type `$ty`.
#[macro_export]
macro_rules! hex_fmt_impl( macro_rules! hex_fmt_impl(
($reverse:expr, $len:expr, $ty:ident) => ( ($reverse:expr, $len:expr, $ty:ident) => (
$crate::hex_fmt_impl!($reverse, $len, $ty, ); $crate::hex_fmt_impl!($reverse, $len, $ty, );