pub fn format_legacy_vector<F, T, E>(
    buf: &mut F,
    elems: impl IntoIterator<Item = T>,
    format_elem: impl FnMut(ListElementWriter<'_, F>, T) -> Result<Nestable, E>
) -> Result<Nestable, E>
where F: FormatBuffer,