From 1d52782640a826b0e3a51da77c0eb0f708a22df7 Mon Sep 17 00:00:00 2001 From: sunface Date: Mon, 21 Feb 2022 15:11:36 +0800 Subject: [PATCH] update cargo/package-layout.md --- contents/SUMMARY.md | 2 +- contents/cargo/guide/package-layout.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/contents/SUMMARY.md b/contents/SUMMARY.md index 98a0b027..57c145b3 100644 --- a/contents/SUMMARY.md +++ b/contents/SUMMARY.md @@ -139,7 +139,7 @@ - [指定依赖项](cargo/reference/specify-deps.md) - [依赖覆盖](cargo/reference/deps-overriding.md) - [Cargo.toml清单详解](cargo/reference/manifest.md) - - [Cargo对象(Target) todo](cargo/reference/cargo-target.md) + - [Cargo Target](cargo/reference/cargo-target.md) - [工作空间 todo](cargo/reference/workspaces.md) - [features todo](cargo/reference/features.md) - [编译器设置和优化 todo](cargo/reference/profiles.md) diff --git a/contents/cargo/guide/package-layout.md b/contents/cargo/guide/package-layout.md index 38f44c2a..ffc7ad46 100644 --- a/contents/cargo/guide/package-layout.md +++ b/contents/cargo/guide/package-layout.md @@ -44,4 +44,4 @@ 关于 Rust 中的包和模块,[之前的章节](https://course.rs/basic/crate-module/intro.html)有更详细的解释。 -这里的一些目录配置还能通过配置文件来修改,详情参见本章的后续章节[修改默认的文件目录](https://course.rs/cargo/reference/manifest/cargo-target.html) \ No newline at end of file +此外,`bin`、`tests`、`examples` 等目录路径都可以通过配置文件进行配置,它们被统一称之为 [Cargo Target](https://course.rs/cargo/reference/cargo-target.html)。 \ No newline at end of file