From f88a3629fd4ccba053bb6cee021d409603aac8d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marco=20Trevisan=20=28Trevi=C3=B1o=29?= Date: Mon, 26 Jan 2026 17:31:08 +0100 Subject: [PATCH] types: Fix wording of Padding::uninit() comment I guess I may wanted to say two different things and then I mixed the words in the resulting comment. Fix the text to make it actually have a meaning --- src/types.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types.rs b/src/types.rs index 2d6e83f67fcde..c2873ddbf4f1b 100644 --- a/src/types.rs +++ b/src/types.rs @@ -28,8 +28,8 @@ impl Padding { // when we depend on rustc 1.75.0. #[allow(unused)] pub(crate) const fn uninit() -> Self { - // We can still safely use uninit here, since padding are is something - // that can are not meant to be read or written anyways. + // We can still safely use uninit here, since padding is something + // that is not meant to be read or written anyways. Self(MaybeUninit::uninit()) } }