You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
523 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

// variables1.rs
// 让我能够编译!执行 `rustex hint variables1` 获取提示 :)
// 关于 `I AM NOT DONE`
// 即使你已经想到了解决方案,我们有时也会鼓励你在特定的练习
// 继续去尝试做到更好。如果你已经通过练习并做好了应对下一题
// 的准备, 请删除下面的 `I AM NOT DONE` 注释。
// I AM NOT DONE
/// 翻译: [mg-chao](https://github.com/mg-chao)
/// 加油 💪
fn main() {
x = 5;
println!("x has the value {}", x);// 译x 的值是
}