Skip to content

Commit b174cc2

Browse files
committed
Remove extra spaces
1 parent dec5e13 commit b174cc2

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/cargo/core/compiler/fingerprint/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ struct DepFingerprint {
543543
/// recompiled. Inputs to the fingerprint include source code modifications,
544544
/// compiler flags, compiler version, etc. This structure is not simply a
545545
/// `String` due to the fact that some fingerprints cannot be calculated lazily.
546-
///
546+
///
547547
/// Path sources, for example, use the mtime of the corresponding dep-info file
548548
/// as a fingerprint (all source files must be modified *before* this mtime).
549549
/// This dep-info file is not generated, however, until after the crate is

src/cargo/core/compiler/mod.rs

-3
Original file line numberDiff line numberDiff line change
@@ -154,13 +154,10 @@ impl Executor for DefaultExecutor {
154154
/// Starting from the `unit`, this function recursively calls itself to build
155155
/// all jobs for dependencies of the `unit`. Each of these jobs represents
156156
/// compiling a particular package.
157-
/// 从“unit”开始, 该函数递归调用自身来构建“unit”依赖项的所有作业。
158-
/// 这些作业中的每一个都代表编译一个特定的包。
159157
///
160158
/// Note that **no actual work is executed as part of this**, that's all done
161159
/// next as part of [`JobQueue::execute`] function which will run everything
162160
/// in order with proper parallelism.
163-
/// 在这个过程中,没有执行任何实际工作,属于[`JobQueue::execute`]的一部分,之后再以并行的方式进行;
164161
fn compile<'gctx>(
165162
build_runner: &mut BuildRunner<'_, 'gctx>,
166163
jobs: &mut JobQueue<'gctx>,

0 commit comments

Comments
 (0)