summaryrefslogtreecommitdiff
path: root/rust/examples/flowgraph
diff options
context:
space:
mode:
authorRubens Brandao <git@rubens.io>2024-04-22 10:43:00 -0300
committerKyle Martin <krm504@nyu.edu>2024-05-09 12:30:06 -0400
commit4e2fbc2b9ad3b45b47b803b8e0ffd8e3dcdf29ec (patch)
tree448c3017699dd53f1df26a56e68462ad21a17e30 /rust/examples/flowgraph
parentfe710ffef3222272e1560ed8318dda726f7f925c (diff)
only create FlowGraph with Ref
Diffstat (limited to 'rust/examples/flowgraph')
-rw-r--r--rust/examples/flowgraph/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/examples/flowgraph/src/lib.rs b/rust/examples/flowgraph/src/lib.rs
index 0375705d..2a03341c 100644
--- a/rust/examples/flowgraph/src/lib.rs
+++ b/rust/examples/flowgraph/src/lib.rs
@@ -36,7 +36,7 @@ fn test_graph(view: &BinaryView) {
&EdgeStyle::default(),
);
- view.show_graph_report("Rust Graph Title", graph);
+ view.show_graph_report("Rust Graph Title", &graph);
}
#[no_mangle]