pub fn push_element(a: &mut Array, kind: Kind) -> boolExpand description
Add an element of a kind at the end, in the style of the element before it.
toml_edit writes a pushed element with a default decor, which turns a
multi-line array’s last line into 2,\n3]. The new element takes the
decor of the one before it instead, so a multi-line array stays one and a
one-line array stays one. Refuses a table, which is not a value.