about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-04-08 18:05:32 +0200
committerGitHub <noreply@github.com>2025-04-08 18:05:32 +0200
commit74c2a9be5be827a82a78c54c2f3fb20e6dda3000 (patch)
treeb794814e233d44a04852d7c3a71b5500fe30b5d9
parent9ea933943524e3b9ad1a652b789a6a0f251ef24d (diff)
parent8501dcbd4b7ce0b5563c915a9e49f316a6572d43 (diff)
downloadrust-74c2a9be5be827a82a78c54c2f3fb20e6dda3000.tar.gz
rust-74c2a9be5be827a82a78c54c2f3fb20e6dda3000.zip
Rollup merge of #139504 - tshepang:patch-5, r=jieyouxu
add missing word in doc comment
-rw-r--r--src/bootstrap/src/core/builder/mod.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/bootstrap/src/core/builder/mod.rs b/src/bootstrap/src/core/builder/mod.rs
index a9058f888d3..f002903996b 100644
--- a/src/bootstrap/src/core/builder/mod.rs
+++ b/src/bootstrap/src/core/builder/mod.rs
@@ -101,13 +101,13 @@ pub trait Step: 'static + Clone + Debug + PartialEq + Eq + Hash {
     /// Primary function to implement `Step` logic.
     ///
     /// This function can be triggered in two ways:
-    ///     1. Directly from [`Builder::execute_cli`].
-    ///     2. Indirectly by being called from other `Step`s using [`Builder::ensure`].
+    /// 1. Directly from [`Builder::execute_cli`].
+    /// 2. Indirectly by being called from other `Step`s using [`Builder::ensure`].
     ///
-    /// When called with [`Builder::execute_cli`] (as done by `Build::build`), this function executed twice:
-    ///     - First in "dry-run" mode to validate certain things (like cyclic Step invocations,
-    ///         directory creation, etc) super quickly.
-    ///     - Then it's called again to run the actual, very expensive process.
+    /// When called with [`Builder::execute_cli`] (as done by `Build::build`), this function is executed twice:
+    /// - First in "dry-run" mode to validate certain things (like cyclic Step invocations,
+    ///   directory creation, etc) super quickly.
+    /// - Then it's called again to run the actual, very expensive process.
     ///
     /// When triggered indirectly from other `Step`s, it may still run twice (as dry-run and real mode)
     /// depending on the `Step::run` implementation of the caller.