@@ -211,7 +211,7 @@ impl ToJson for LldFlavor {
211
211
212
212
impl LinkerFlavor {
213
213
/// At this point the target's reference linker flavor doesn't yet exist and we need to infer
214
- /// it. The inference always succeds and gives some result, and we don't report any flavor
214
+ /// it. The inference always succeeds and gives some result, and we don't report any flavor
215
215
/// incompatibility errors for json target specs. The CLI flavor is used as the main source
216
216
/// of truth, other flags are used in case of ambiguities.
217
217
fn from_cli_json ( cli : LinkerFlavorCli , lld_flavor : LldFlavor , is_gnu : bool ) -> LinkerFlavor {
@@ -581,7 +581,7 @@ impl LinkSelfContainedDefault {
581
581
self == LinkSelfContainedDefault :: False
582
582
}
583
583
584
- /// Returns whether the target spec explictly requests self-contained linking, i.e. not via
584
+ /// Returns whether the target spec explicitly requests self-contained linking, i.e. not via
585
585
/// inference.
586
586
pub fn is_linker_enabled ( self ) -> bool {
587
587
match self {
@@ -2090,7 +2090,7 @@ pub struct TargetOptions {
2090
2090
/// If `None`, then `CFG_DEFAULT_CODEGEN_BACKEND` environmental variable captured when
2091
2091
/// compiling `rustc` will be used instead (or llvm if it is not set).
2092
2092
///
2093
- /// N.B. when *using* the compiler, backend can always be overriden with `-Zcodegen-backend`.
2093
+ /// N.B. when *using* the compiler, backend can always be overridden with `-Zcodegen-backend`.
2094
2094
pub default_codegen_backend : Option < StaticCow < str > > ,
2095
2095
2096
2096
/// Whether to generate trap instructions in places where optimization would
0 commit comments