這是我個人練習 Rust By Practice 的解答,題目與學習資料如下:
配套學習資料:Rust Course | Github | 線上閱讀本練習題庫:Rust By Practice | Github | 線上閱讀
3. Variable 变量绑定与解构
绑定和可变性
🌟 变量只有在初始化后才能被使用
// 修复下面代码的错误并尽可能少的修改
fn main() {
Are you sure to leave this team?
Once you delete your team, all team notes will be deleted and cannot be recovered. Please ensure you've exported or transfered these notes.
Enter team name before deleting it:
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up