Skip to content

Commit 0de9144

Browse files
fix comment grammar
Co-authored-by: Ralf Jung <[email protected]>
1 parent 1febf58 commit 0de9144

File tree

1 file changed

+3
-3
lines changed
  • compiler/rustc_target/src/spec

1 file changed

+3
-3
lines changed

compiler/rustc_target/src/spec/mod.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -2403,9 +2403,9 @@ impl Target {
24032403
match abi {
24042404
Abi::C { .. } => self.default_adjusted_cabi.unwrap_or(abi),
24052405

2406-
// On Windows, `extern "system"` behaves like msvc's `__stdcall`
2407-
// `__stdcall` only applies on x86 and on non-variadic functions
2408-
// see https://learn.microsoft.com/en-us/cpp/cpp/stdcall?view=msvc-170
2406+
// On Windows, `extern "system"` behaves like msvc's `__stdcall`.
2407+
// `__stdcall` only applies on x86 and on non-variadic functions:
2408+
// https://learn.microsoft.com/en-us/cpp/cpp/stdcall?view=msvc-170
24092409
Abi::System { unwind } if self.is_like_windows && self.arch == "x86" && !c_variadic => {
24102410
Abi::Stdcall { unwind }
24112411
}

0 commit comments

Comments
 (0)