diff options
| author | klensy <klensy@users.noreply.github.com> | 2023-12-06 13:45:46 +0300 |
|---|---|---|
| committer | klensy <klensy@users.noreply.github.com> | 2023-12-06 13:52:30 +0300 |
| commit | 7ff9648808921746dcd08c050c7ff8918c3551b9 (patch) | |
| tree | 5753dc1bb556094a33b73ce178025b33aa6fcefa /library/std/src/sys | |
| parent | 17a520aa3769ebbf6653eef8369ab3c459b887aa (diff) | |
| download | rust-7ff9648808921746dcd08c050c7ff8918c3551b9.tar.gz rust-7ff9648808921746dcd08c050c7ff8918c3551b9.zip | |
library: fix comment about const assert in win api
Diffstat (limited to 'library/std/src/sys')
| -rw-r--r-- | library/std/src/sys/windows/api.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/std/src/sys/windows/api.rs b/library/std/src/sys/windows/api.rs index 72ecb950341..a7ea59e85f7 100644 --- a/library/std/src/sys/windows/api.rs +++ b/library/std/src/sys/windows/api.rs @@ -48,7 +48,7 @@ use super::c; /// converted to a `u32`. Clippy would warn about this but, alas, it's not run /// on the standard library. const fn win32_size_of<T: Sized>() -> u32 { - // Const assert that the size is less than u32::MAX. + // Const assert that the size does not exceed u32::MAX. // Uses a trait to workaround restriction on using generic types in inner items. trait Win32SizeOf: Sized { const WIN32_SIZE_OF: u32 = { |
