Update chapter_2.md

This commit is contained in:
令狐一冲
2023-05-17 10:54:13 +08:00
committed by GitHub
parent ac002c5268
commit f56b20129f

View File

@@ -145,7 +145,7 @@ cargo new hello_world
```
创建后,可以看到整个目录的结构如下:
![目录结构](../assets/62.PNG)
![目录结构](../assets/62.png)
其中Cargo.toml是项目的配置文件src为源代码目录main.rs为主程序文件。
### 2.3.2 编写程序