Append struct element to an array

You want push! to add just a single element to the end of an array. append! tries to add an array of many elements.

3 Likes