I am looking for an equivalent version of this function, either from std or from external crate.
fn add<T>(v: Vec<T>, item: T) -> Vec<T> {
v.push(item);
v
}
The purpose of this function is to use it with some reducer (in my case, I need it for itertool's fold_result).