# Objective - This makes code a little more readable now. ## Solution - Use `position` provided by `Iter` instead of `enumerating` indices and `map`ping to the index. |
||
|---|---|---|
| .. | ||
| context.rs | ||
| edge.rs | ||
| graph.rs | ||
| mod.rs | ||
| node_slot.rs | ||
| node.rs | ||
# Objective - This makes code a little more readable now. ## Solution - Use `position` provided by `Iter` instead of `enumerating` indices and `map`ping to the index. |
||
|---|---|---|
| .. | ||
| context.rs | ||
| edge.rs | ||
| graph.rs | ||
| mod.rs | ||
| node_slot.rs | ||
| node.rs | ||