Skip to content

Commit

Permalink
add doc macro for laplacian
Browse files Browse the repository at this point in the history
  • Loading branch information
ripytide committed May 25, 2024
1 parent 1fb2e77 commit ccd7fc7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/filter/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ pub fn laplacian_filter(image: &GrayImage) -> Image<Luma<i16>> {
}
#[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<Luma<i16>> {
filter_clamped_parallel(image, kernel::FOUR_LAPLACIAN_3X3)
}
Expand Down

0 comments on commit ccd7fc7

Please sign in to comment.