Skip to content

Commit 5933672

Browse files
spuradageNobodyXu
authored andcommitted
chore: minor improvement for docs
Signed-off-by: spuradage <[email protected]>
1 parent b6281e8 commit 5933672

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/flags.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ impl<'this> RustcCodegenFlags<'this> {
166166
self.branch_protection = flag_not_empty(value)?;
167167
}
168168
// https://doc.rust-lang.org/beta/unstable-book/compiler-flags/dwarf-version.html
169-
// FIXME: Drop the -Z variant and update the doc link once the option is stablized
169+
// FIXME: Drop the -Z variant and update the doc link once the option is stabilized
170170
"-Zdwarf-version" | "-Cdwarf-version" => {
171171
self.dwarf_version = flag_not_empty_generic(flag, value.and_then(arg_to_u32))?;
172172
}

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,7 @@ impl Build {
13191319
/// always run on every compilation if no rerun cargo metadata is emitted.
13201320
///
13211321
/// NOTE that cc does not emit metadata to detect changes for `PATH`, since it could
1322-
/// be changed every comilation yet does not affect the result of compilation
1322+
/// be changed every compilation yet does not affect the result of compilation
13231323
/// (i.e. rust-analyzer adds temporary directory to `PATH`).
13241324
///
13251325
/// cc in general, has no way detecting changes to compiler, as there are so many ways to
@@ -1805,7 +1805,7 @@ impl Build {
18051805
is_arm,
18061806
},
18071807
);
1808-
// armasm and armasm64 don't requrie -c option
1808+
// armasm and armasm64 don't require -c option
18091809
if !is_assembler_msvc || !is_arm {
18101810
cmd.arg("-c");
18111811
}

0 commit comments

Comments
 (0)