Skip to content

Commit b27a943

Browse files
committed
refactor: rename a variable
1 parent 2543757 commit b27a943

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/visualizer/methods.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ where
9696
let path_components: Vec<&OsStr> = initial_row
9797
.ancestors
9898
.iter()
99-
.map(|a| a.name.as_ref())
99+
.map(|node| node.name.as_ref())
100100
.chain(initial_row.node_info.name.pipe_as_ref(once))
101101
.collect();
102102
coloring.node_color(&path_components, initial_row.node_info.children_count > 0)

0 commit comments

Comments
 (0)