Skip to content

Commit cdc64ea

Browse files
GiggleLiuclaude
andcommitted
fix: borrow PathBuf as &Path in export_graph example
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent d93a6bf commit cdc64ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/export_graph.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fn main() {
2525
}
2626

2727
graph
28-
.to_json_file(output_path)
28+
.to_json_file(&output_path)
2929
.expect("Failed to write JSON file");
3030

3131
println!("\nExported to: {}", output_path.display());

0 commit comments

Comments
 (0)