From 0eb12b7e4ba4c90a1de5b8ca1340dd1b4d528363 Mon Sep 17 00:00:00 2001 From: _lmmmmmm Date: Fri, 20 Jan 2023 21:25:30 +0800 Subject: [PATCH] fix: ch07-05 file content --- 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 651837c..1c4c0c8 100644 --- a/src/ch07-05-separating-modules-into-different-files.md +++ b/src/ch07-05-separating-modules-into-different-files.md @@ -40,7 +40,7 @@ 文件名:src/front_of_house.rs ```rust,ignore -{{#rustdoc_include ../listings/ch07-managing-growing-projects/no-listing-02-extracting-hosting/src/front_of_house/hosting.rs}} +{{#rustdoc_include ../listings/ch07-managing-growing-projects/no-listing-02-extracting-hosting/src/front_of_house.rs}} ``` 接着我们创建一个 *src/front_of_house* 目录和一个包含 `hosting` 模块定义的 *hosting.rs* 文件: