style(loader): appease clippy
This commit is contained in:
parent
be0c44f871
commit
4edcca9850
1 changed files with 3 additions and 1 deletions
|
|
@ -1291,7 +1291,9 @@ impl Loader {
|
|||
if path.starts_with(parser_path) {
|
||||
Ok(path)
|
||||
} else {
|
||||
Err(anyhow!("External file path {path:?} is outside of parser directory {parser_path:?}"))
|
||||
Err(anyhow!(
|
||||
"External file path {} is outside of parser directory {}", path.display(), parser_path.display(),
|
||||
))
|
||||
}
|
||||
})
|
||||
.collect::<Result<Vec<_>>>()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue