summaryrefslogtreecommitdiff
path: root/rust/src/flowgraph.rs
diff options
context:
space:
mode:
authorMichael Krasnitski <michael.krasnitski@gmail.com>2023-01-06 14:13:55 -0500
committerKyleMiles <krm504@nyu.edu>2023-01-06 18:04:05 -0500
commitad7f5293db22e23d8d50077aa99f5d7a904092fc (patch)
tree294217bc06b0cdc3a86ebdb1132ad8cddd02d5ce /rust/src/flowgraph.rs
parentc97b7d878c048312257843ee585280cc07a906e7 (diff)
Rust API: Additional Cleanup
Diffstat (limited to 'rust/src/flowgraph.rs')
-rw-r--r--rust/src/flowgraph.rs9
1 files changed, 1 insertions, 8 deletions
diff --git a/rust/src/flowgraph.rs b/rust/src/flowgraph.rs
index 92b098cd..a0e6caaa 100644
--- a/rust/src/flowgraph.rs
+++ b/rust/src/flowgraph.rs
@@ -89,14 +89,7 @@ impl<'a> FlowGraphNode<'a> {
target: &'a FlowGraphNode,
edge_style: &'a EdgeStyle,
) {
- unsafe {
- BNAddFlowGraphNodeOutgoingEdge(
- self.handle,
- type_,
- target.handle,
- edge_style.0,
- )
- }
+ unsafe { BNAddFlowGraphNodeOutgoingEdge(self.handle, type_, target.handle, edge_style.0) }
}
}