提交 1a719623 编写于 作者: Hurry_upp's avatar Hurry_upp

Add new file

上级 abb23ea3
## 要求
所有的小练习全部通过,具体内容链接 https://github.com/rust-lang/rustlings
# 1 variables1.rs
1.1 variables1.rs //原代码没有let关键字,我这里直接let x = 5, 让编译器自己推断x的数据类型,如果有需要可以使用 let x : i32 = 5 的方式指定数据类型。
fn main() {
let x = 5;
println!("x has the value {}", x);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册