Skip to content

Commit 4edcca9

Browse files
committed
style(loader): appease clippy
1 parent be0c44f commit 4edcca9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

crates/loader/src/loader.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1291,7 +1291,9 @@ impl Loader {
12911291
if path.starts_with(parser_path) {
12921292
Ok(path)
12931293
} else {
1294-
Err(anyhow!("External file path {path:?} is outside of parser directory {parser_path:?}"))
1294+
Err(anyhow!(
1295+
"External file path {} is outside of parser directory {}", path.display(), parser_path.display(),
1296+
))
12951297
}
12961298
})
12971299
.collect::<Result<Vec<_>>>()

0 commit comments

Comments
 (0)