From 3beedad29c5a5faac0e0d71b07eff84b0f1e2d7d Mon Sep 17 00:00:00 2001 From: KaiserY Date: Wed, 15 Jul 2020 11:02:09 +0800 Subject: [PATCH] update ch07-05 close #441 --- src/ch07-05-separating-modules-into-different-files.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ch07-05-separating-modules-into-different-files.md b/src/ch07-05-separating-modules-into-different-files.md index f6570dd..fdce879 100644 --- a/src/ch07-05-separating-modules-into-different-files.md +++ b/src/ch07-05-separating-modules-into-different-files.md @@ -22,7 +22,7 @@ pub fn eat_at_restaurant() { } ``` -示例 7-21: 声明 `front_of_house` 模块,其内容位于 *src/front_of_house.rs* +示例 7-21: 声明 `front_of_house` 模块,其内容将位于 *src/front_of_house.rs* *src/front_of_house.rs* 会获取 `front_of_house` 模块的定义内容,如示例 7-22 所示。