From 04ff12a20644c31e225b3b4648e530dc69bab25a Mon Sep 17 00:00:00 2001 From: Eric Huss Date: Wed, 13 Aug 2025 18:03:25 -0700 Subject: [PATCH] Fix copy/paste error in resource error message --- crates/mdbook-html/src/html_handlebars/helpers/resources.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/mdbook-html/src/html_handlebars/helpers/resources.rs b/crates/mdbook-html/src/html_handlebars/helpers/resources.rs index 01b9738f..f3cf9cd4 100644 --- a/crates/mdbook-html/src/html_handlebars/helpers/resources.rs +++ b/crates/mdbook-html/src/html_handlebars/helpers/resources.rs @@ -23,7 +23,7 @@ impl HelperDef for ResourceHelper { ) -> Result<(), RenderError> { let param = h.param(0).and_then(|v| v.value().as_str()).ok_or_else(|| { RenderErrorReason::Other( - "Param 0 with String type is required for theme_option helper.".to_owned(), + "Param 0 with String type is required for resource helper.".to_owned(), ) })?;