From 9070e12ea06c297532347af3668be9927ba35fa1 Mon Sep 17 00:00:00 2001 From: Lachlan Deakin Date: Tue, 4 Feb 2025 07:16:38 +1100 Subject: [PATCH] fix: docs gen in `vlen_v2_codec` macro --- .../src/array/codec/array_to_bytes/vlen_v2/vlen_v2_macros.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zarrs/src/array/codec/array_to_bytes/vlen_v2/vlen_v2_macros.rs b/zarrs/src/array/codec/array_to_bytes/vlen_v2/vlen_v2_macros.rs index 40a887be..8a5f35b2 100644 --- a/zarrs/src/array/codec/array_to_bytes/vlen_v2/vlen_v2_macros.rs +++ b/zarrs/src/array/codec/array_to_bytes/vlen_v2/vlen_v2_macros.rs @@ -55,14 +55,14 @@ macro_rules! vlen_v2_codec { #[cfg(feature = "async")] use crate::array::codec::{AsyncArrayPartialDecoderTraits, AsyncBytesPartialDecoderTraits}; - /// The `$identifier` codec implementation. + #[doc = concat!("The `", $identifier, "` codec implementation.")] #[derive(Debug, Clone)] pub struct $struct { inner: Arc, } impl $struct { - /// Create a new `$identifier` codec. + #[doc = concat!("Create a new `", $identifier, "` codec.")] #[must_use] pub fn new() -> Self { Self {