In Rust, variables are immutable by default. fn immutable() { let x = 5; ... 而這個概念其實也就是靜態變數(static)或是我們稱做全域變數,在大多數的用例中const ...
確定! 回上一頁