Skip to content

Commit 3c0f472

Browse files
authored
Unrolled build for rust-lang#118669
Rollup merge of rust-lang#118669 - klensy:comment-fix, r=workingjubilee library: fix comment about const assert in win api Resolves [comment ](rust-lang#116816 (comment)) r? `@workingjubilee`
2 parents f32d298 + 7ff9648 commit 3c0f472

File tree

1 file changed

+1
-1
lines changed
  • library/std/src/sys/windows

1 file changed

+1
-1
lines changed

library/std/src/sys/windows/api.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ use super::c;
4848
/// converted to a `u32`. Clippy would warn about this but, alas, it's not run
4949
/// on the standard library.
5050
const fn win32_size_of<T: Sized>() -> u32 {
51-
// Const assert that the size is less than u32::MAX.
51+
// Const assert that the size does not exceed u32::MAX.
5252
// Uses a trait to workaround restriction on using generic types in inner items.
5353
trait Win32SizeOf: Sized {
5454
const WIN32_SIZE_OF: u32 = {

0 commit comments

Comments
 (0)