因为没有向这个vector 中插入任何值,Rust 并不知道我们想要储存什么类型的元素。 ... enum SpreadsheetCell { Int(i32), Float(f64), Text(String), } let row = vec!
確定! 回上一頁