From 25c4c78e2629f0ecb9d451845ff1cf6d8e12e04d Mon Sep 17 00:00:00 2001 From: "Tobin C. Harding" Date: Tue, 29 Oct 2024 13:58:50 +1100 Subject: [PATCH] hashes: Put attribute under rustdoc Like we do for all the other macros ptu the `macro_export` attribute below the macro comments. --- hashes/src/macros.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hashes/src/macros.rs b/hashes/src/macros.rs index 942b8a788..480d336ca 100644 --- a/hashes/src/macros.rs +++ b/hashes/src/macros.rs @@ -2,8 +2,8 @@ //! Public macros. -#[macro_export] /// Adds hexadecimal formatting implementation of a trait `$imp` to a given type `$ty`. +#[macro_export] macro_rules! hex_fmt_impl( ($reverse:expr, $len:expr, $ty:ident) => ( $crate::hex_fmt_impl!($reverse, $len, $ty, );