Skip to content

Commit 04ff12a

Browse files
committed
Fix copy/paste error in resource error message
1 parent 3236ec0 commit 04ff12a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/mdbook-html/src/html_handlebars/helpers/resources.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ impl HelperDef for ResourceHelper {
2323
) -> Result<(), RenderError> {
2424
let param = h.param(0).and_then(|v| v.value().as_str()).ok_or_else(|| {
2525
RenderErrorReason::Other(
26-
"Param 0 with String type is required for theme_option helper.".to_owned(),
26+
"Param 0 with String type is required for resource helper.".to_owned(),
2727
)
2828
})?;
2929

0 commit comments

Comments
 (0)