summaryrefslogtreecommitdiffstats
path: root/src/interactive.rs
diff options
context:
space:
mode:
authorSebastian Thiel <sthiel@thoughtworks.com>2019-06-02 18:05:13 +0530
committerSebastian Thiel <sthiel@thoughtworks.com>2019-06-02 18:05:13 +0530
commit00952c6aa7b585cd27712ab75fd854d8cec11fc4 (patch)
tree47876e59ea1a5819ac2b3e219eb061c9ef9afd20 /src/interactive.rs
parent16833be086fe7c15b10e902ae309533dba5382d9 (diff)
Add another failing test
Diffstat (limited to 'src/interactive.rs')
-rw-r--r--src/interactive.rs5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/interactive.rs b/src/interactive.rs
index 1c36b0b..3228643 100644
--- a/src/interactive.rs
+++ b/src/interactive.rs
@@ -134,10 +134,7 @@ mod app {
.pop()
.expect("sizes per level to be in sync with graph");
parent_node_idx = tree
- .neighbors_directed(
- parent_node_idx,
- Direction::Incoming,
- )
+ .neighbors_directed(parent_node_idx, Direction::Incoming)
.next()
.expect("every node in the iteration has a parent test");
tree.node_weight_mut(parent_node_idx)