diff --git a/src/ch07-02-defining-modules-to-control-scope-and-privacy.md b/src/ch07-02-defining-modules-to-control-scope-and-privacy.md index e15111c..1fcfe6e 100644 --- a/src/ch07-02-defining-modules-to-control-scope-and-privacy.md +++ b/src/ch07-02-defining-modules-to-control-scope-and-privacy.md @@ -40,7 +40,7 @@ backyard 这个例子中的crate根文件是*src/main.rs*,该文件包括了: -Filename: src/main.rs +文件名: src/main.rs ```rust,noplayground,ignore {{#rustdoc_include ../listings/ch07-managing-growing-projects/quick-reference-example/src/main.rs}} @@ -48,7 +48,7 @@ backyard `pub mod garden;`行告诉编译器应该包含在*src/garden.rs*文件中发现的代码: -Filename: src/garden.rs +文件名: src/garden.rs ```rust,noplayground,ignore {{#rustdoc_include ../listings/ch07-managing-growing-projects/quick-reference-example/src/garden.rs}}