fix warning
This commit is contained in:
parent
cc7dd0a104
commit
1674d50715
|
@ -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| {
|
||||||
|
|
Loading…
Reference in a new issue