如何将切片中的所有元素附加到 Vec?

How to append all elements in a slice to a Vec?

Vec::push_all, but it's marked unstable. There's also Vec::append 类似,但也不稳定。

目前是否有其他选择?

Extend trait, which Vec<T> implements(trait在prelude中,不需要导入)

one_vec.extend(another_vec)