diff options
Diffstat (limited to 'tests/test_utils/mdx_plugin_recma_document.rs')
-rw-r--r-- | tests/test_utils/mdx_plugin_recma_document.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/test_utils/mdx_plugin_recma_document.rs b/tests/test_utils/mdx_plugin_recma_document.rs index a62862c..5c0d423 100644 --- a/tests/test_utils/mdx_plugin_recma_document.rs +++ b/tests/test_utils/mdx_plugin_recma_document.rs @@ -72,10 +72,10 @@ impl Default for Options { #[allow(dead_code)] pub fn mdx_plugin_recma_document( - mut program: Program, + program: &mut Program, options: &Options, location: Option<&Location>, -) -> Result<Program, String> { +) -> Result<(), String> { // New body children. let mut replacements = vec![]; @@ -412,7 +412,7 @@ pub fn mdx_plugin_recma_document( program.module.body = replacements; - Ok(program) + Ok(()) } /// Create a content component. |