From ccd7fc7f0065a02c7bfe7a65f3717177efefe42f Mon Sep 17 00:00:00 2001 From: ripytide Date: Sat, 25 May 2024 19:52:44 +0100 Subject: [PATCH] add doc macro for laplacian --- src/filter/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/filter/mod.rs b/src/filter/mod.rs index b883361f..5fb1a67e 100644 --- a/src/filter/mod.rs +++ b/src/filter/mod.rs @@ -522,6 +522,7 @@ pub fn laplacian_filter(image: &GrayImage) -> Image> { } #[must_use = "the function does not modify the original image"] #[cfg(feature = "rayon")] +#[doc = generate_parallel_doc_comment!("laplacian_filter")] pub fn laplacian_filter_parallel(image: &GrayImage) -> Image> { filter_clamped_parallel(image, kernel::FOUR_LAPLACIAN_3X3) }