fix warning

This commit is contained in:
kitsunecafe 2024-02-21 10:36:56 -05:00
parent cc7dd0a104
commit 1674d50715

View file

@ -19,7 +19,7 @@ impl MarkdownTeraPreformatter {
} }
impl Parse for MarkdownTeraPreformatter { impl Parse for MarkdownTeraPreformatter {
fn parse(&mut self, path: &str, src: &[u8], dst: &mut Vec<u8>) -> Result<(), roxy_core::error::Error> { fn parse(&mut self, _path: &str, src: &[u8], dst: &mut Vec<u8>) -> Result<(), roxy_core::error::Error> {
let str = String::from_utf8_lossy(src).to_string(); let str = String::from_utf8_lossy(src).to_string();
let result = PLACEHOLDER_RE let result = PLACEHOLDER_RE
.replace_all(str.as_str(), |captures: &Captures| { .replace_all(str.as_str(), |captures: &Captures| {