From 7ff9648808921746dcd08c050c7ff8918c3551b9 Mon Sep 17 00:00:00 2001 From: klensy Date: Wed, 6 Dec 2023 13:45:46 +0300 Subject: [PATCH] library: fix comment about const assert in win api --- library/std/src/sys/windows/api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/std/src/sys/windows/api.rs b/library/std/src/sys/windows/api.rs index 72ecb9503410e..a7ea59e85f786 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() -> 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 = {