about summary refs log tree commit diff
path: root/library/std/src/sys
diff options
context:
space:
mode:
authorDezhi Wu <wu543065657@163.com>2022-08-18 16:36:49 +0800
committerDezhi Wu <wu543065657@163.com>2022-08-31 18:25:00 +0800
commit17706937710756ccc9504caf121f09326446523b (patch)
tree97aec5c93b47ac9d2f51005106a88acfe10d487e /library/std/src/sys
parent85fc39c1e324f7c511fdcf07c956eaca2e92b494 (diff)
downloadrust-17706937710756ccc9504caf121f09326446523b.tar.gz
rust-17706937710756ccc9504caf121f09326446523b.zip
Correct typo
Diffstat (limited to 'library/std/src/sys')
-rw-r--r--library/std/src/sys/windows/cmath.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/windows/cmath.rs b/library/std/src/sys/windows/cmath.rs
index 74bb552527f..43ab8c7ee65 100644
--- a/library/std/src/sys/windows/cmath.rs
+++ b/library/std/src/sys/windows/cmath.rs
@@ -44,7 +44,7 @@ mod shims {
 }
 
 // On 32-bit x86 MSVC these functions aren't defined, so we just define shims
-// which promote everything for f64, perform the calculation, and then demote
+// which promote everything to f64, perform the calculation, and then demote
 // back to f32. While not precisely correct should be "correct enough" for now.
 #[cfg(all(target_env = "msvc", target_arch = "x86"))]
 mod shims {