From 60e38d1bfea1e2aeec2255728055e51619cb6641 Mon Sep 17 00:00:00 2001 From: Vincent Ging Ho Yim Date: Mon, 12 May 2025 11:40:14 +1000 Subject: [PATCH] feat: Enforce that `MarkdownOptions` must be used once constructed --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index 207cd95..9751c4c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -28,6 +28,7 @@ use utils::pluralize; /// /// Used with [`help_markdown_custom()`]. #[non_exhaustive] +#[must_use] pub struct MarkdownOptions { title: Option, show_footer: bool,