摘要: rust变量 rust默认变量是不可变的,通过加mut设置变量可变 fn main() { let _immutable_variable = 1i; let mut mutable_variable = 1i; println!("Before mutation: {}", mutable_var 阅读全文
posted @ 2019-09-10 17:41 ahhg 阅读(474) 评论(0) 推荐(0) 编辑