Skip to content

Commit dd8d1b4

Browse files
committed
update doc-comment for forced_compiler
Signed-off-by: onur-ozkan <work@onurozkan.dev>
1 parent 8042e00 commit dd8d1b4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bootstrap/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ const EXTRA_CHECK_CFGS: &[(Option<Mode>, &str, Option<&[&'static str]>)] = &[
9696
pub struct Compiler {
9797
stage: u32,
9898
host: TargetSelection,
99-
/// Indicates whether `compiler_for` was used to force a specific compiler stage.
99+
/// Indicates whether the compiler was forced to use a specific stage.
100100
/// This field is ignored in `Hash` and `PartialEq` implementations as only the `stage`
101101
/// and `host` fields are relevant for those.
102102
forced_compiler: bool,
@@ -1998,7 +1998,7 @@ impl Compiler {
19981998
self.stage == 0 && self.host == build.build
19991999
}
20002000

2001-
/// Indicates whether `compiler_for` was used to force a specific compiler stage.
2001+
/// Indicates whether the compiler was forced to use a specific stage.
20022002
pub fn is_forced_compiler(&self) -> bool {
20032003
self.forced_compiler
20042004
}

0 commit comments

Comments
 (0)