Skip to content

Commit ed566a9

Browse files
committed
Use Path::display() instead of the debug representation
1 parent 3076276 commit ed566a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/policy/src/bin/schema.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ use schemars::{JsonSchema, r#gen::SchemaSettings};
1919
fn write_schema<T: JsonSchema>(out_dir: Option<&Path>, file: &str) {
2020
let mut writer: Box<dyn std::io::Write> = if let Some(out_dir) = out_dir {
2121
let path = out_dir.join(file);
22-
eprintln!("Writing to {path:?}");
22+
eprintln!("Writing to {}", path.display());
2323
let file = std::fs::File::create(path).expect("Failed to create file");
2424
Box::new(std::io::BufWriter::new(file))
2525
} else {

0 commit comments

Comments
 (0)