let s = String::from("hello"); let closure = move || println!("{}", s); closure(); // println!("{}", s); // 错误:s 已被移动