而将 while true 换为 loop 则能够经过编译: fn main() { let mut a; loop { a = 1; break ; } println!("{}", a);} 我清楚它们之间的区别, while ...
確定! 回上一頁