style(loader): appease clippy

This commit is contained in:
Amaan Qureshi 2025-09-28 05:13:30 -04:00 committed by Amaan Qureshi
parent be0c44f871
commit 4edcca9850

View file

@ -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<_>>>()