Skip to content

Commit 015270c

Browse files
committed
updating tree_traversal.md
1 parent 4293734 commit 015270c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

contents/tree_traversal/tree_traversal.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,7 @@ This has not been implemented in your chosen language, so here is the Julia code
120120
<img class="center" src="code/scratch/dfs-in.svg" width="300" />
121121
</p>
122122
{% sample lang="rs"%}
123-
This has not been implemented in your chosen language, so here is the Julia code
124-
[import:28-43, lang:"julia"](code/julia/Tree.jl)
123+
[import:25-38, lang:"rust"](code/rust/tree.rs)
125124
{% sample lang="hs"%}
126125
[import:11-15, lang:"haskell"](code/haskell/TreeTraversal.hs)
127126
{% endmethod %}
@@ -162,7 +161,7 @@ In code, it looks like this:
162161
<img class="center" src="code/scratch/dfs-stack.svg" width="400" />
163162
</p>
164163
{% sample lang="rs"%}
165-
[import:25-32, lang:"rust"](code/rust/tree.rs)
164+
[import:40-47, lang:"rust"](code/rust/tree.rs)
166165
{% sample lang="hs"%}
167166
This has not been implemented in your chosen language, so here is the Julia code
168167
[import:45-56, lang:"julia"](code/julia/Tree.jl)
@@ -196,7 +195,7 @@ And this is exactly what Breadth-First Search (BFS) does! On top of that, it can
196195
<img class="center" src="code/scratch/bfs.svg" width="400" />
197196
</p>
198197
{% sample lang="rs"%}
199-
[import:34-42, lang:"rust"](code/rust/tree.rs)
198+
[import:49-57, lang:"rust"](code/rust/tree.rs)
200199
{% sample lang="hs"%}
201200
[import:17-20, lang:"haskell"](code/haskell/TreeTraversal.hs)
202201
{% endmethod %}

0 commit comments

Comments
 (0)