老师那你看这个例子的问题怎么处理:
let mut ps:Vec<&i32> = vec![];
let mut loop_vec = [1,2,3,4,5,6];
for item in loop_vec.iter(){
let i = item + 1; ps.push(&i);
}
报错信息:ps.push(&i); &i borrowed value does not live long enough `i` dropped here while still borrowed