diff --git a/src/lib.rs b/src/lib.rs index fbba147..6944f9d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -77,7 +77,7 @@ pub fn pandoc_plain(input: &str) -> Result { let output = str::from_utf8(&pandoc.stdout) .context("Failed to convert Pandoc output to string")? - .to_string(); + .to_owned(); Ok(output) }