Skip to content

Commit d51c940

Browse files
authored
Fix import of coconut in flood_fill.md (#951)
Fix import of coconut in flood_fill.md
1 parent cf655b0 commit d51c940

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

contents/flood_fill/flood_fill.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ In code, this might look like this:
9595
{% sample lang="py" %}
9696
[import:10-25, lang="python"](code/python/flood_fill.py)
9797
{% sample lang="coco" %}
98-
[import:15-19, lang="coconut"](code/coconut/flood_fill.coco)
98+
[import:15-20, lang="coconut"](code/coconut/flood_fill.coco)
9999
{% endmethod %}
100100

101101

@@ -117,7 +117,7 @@ In code, it might look like this:
117117
{% sample lang="py" %}
118118
[import:55-63, lang="python"](code/python/flood_fill.py)
119119
{% sample lang="coco" %}
120-
[import:54-63, lang:"coconut"](code/coconut/flood_fill.coco)
120+
[import:52-61, lang:"coconut"](code/coconut/flood_fill.coco)
121121
{% endmethod %}
122122

123123
The above code continues recursing through available neighbors as long as neighbors exist, and this should work so long as we are adding the correct set of neighbors.
@@ -179,7 +179,7 @@ The code would look something like this:
179179
{% sample lang="py" %}
180180
[import:38-53, lang="python"](code/python/flood_fill.py)
181181
{% sample lang="coco" %}
182-
[import:37-51, lang:"coconut"](code/coconut/flood_fill.coco)
182+
[import:36-49, lang:"coconut"](code/coconut/flood_fill.coco)
183183
{% endmethod %}
184184

185185
Now, there is a small trick in this code that must be considered to make sure it runs optimally.

0 commit comments

Comments
 (0)