Update chapter_2.md

This commit is contained in:
令狐一冲
2023-05-17 14:07:37 +08:00
committed by GitHub
parent 049ebcf8b7
commit c01d1aae15

View File

@@ -152,7 +152,7 @@ cargo new hello_world
### 2.3.2 编写程序
默认情况下main.rs文件中已经包含了一个简单的Hello, World程序代码如下
```
```Rust
fn main() {
println!("Hello, world!");
}