Skip to content

Commit 89a2836

Browse files
committed
fix append! iterable to MutableLinkedList
1 parent b462388 commit 89a2836

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/mutable_list.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,9 @@ end
165165

166166
function Base.append!(l::MutableLinkedList, elts...)
167167
for elt in elts
168-
push!(l, elt)
168+
for v in elt
169+
push!(l, v)
170+
end
169171
end
170172
return l
171173
end

0 commit comments

Comments
 (0)