about summary refs log tree commit diff
diff options
context:
space:
mode:
authoronur-ozkan <work@onurozkan.dev>2025-03-08 08:39:41 +0300
committeronur-ozkan <work@onurozkan.dev>2025-03-08 08:39:41 +0300
commitdd8d1b4afac8c24a086054f78708f49ff0174c8a (patch)
treee631f1ec430e5ffb5ec943af83a43c66cc8220c3
parent8042e0029103573fc8e4013bc7dd2fe66699bad2 (diff)
downloadrust-dd8d1b4afac8c24a086054f78708f49ff0174c8a.tar.gz
rust-dd8d1b4afac8c24a086054f78708f49ff0174c8a.zip
update doc-comment for `forced_compiler`
Signed-off-by: onur-ozkan <work@onurozkan.dev>
-rw-r--r--src/bootstrap/src/lib.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootstrap/src/lib.rs b/src/bootstrap/src/lib.rs
index 788c8bbdc84..994ccabf0eb 100644
--- a/src/bootstrap/src/lib.rs
+++ b/src/bootstrap/src/lib.rs
@@ -96,7 +96,7 @@ const EXTRA_CHECK_CFGS: &[(Option<Mode>, &str, Option<&[&'static str]>)] = &[
 pub struct Compiler {
     stage: u32,
     host: TargetSelection,
-    /// Indicates whether `compiler_for` was used to force a specific compiler stage.
+    /// Indicates whether the compiler was forced to use a specific stage.
     /// This field is ignored in `Hash` and `PartialEq` implementations as only the `stage`
     /// and `host` fields are relevant for those.
     forced_compiler: bool,
@@ -1998,7 +1998,7 @@ impl Compiler {
         self.stage == 0 && self.host == build.build
     }
 
-    /// Indicates whether `compiler_for` was used to force a specific compiler stage.
+    /// Indicates whether the compiler was forced to use a specific stage.
     pub fn is_forced_compiler(&self) -> bool {
         self.forced_compiler
     }