From 781d73747890e6bca47962721453564cdbcb27a7 Mon Sep 17 00:00:00 2001 From: Infinixius <68125679+Infinixius@users.noreply.github.com> Date: Fri, 10 May 2024 23:13:32 +0000 Subject: [PATCH] Fix typo in ManuallyDrop's documentation --- library/core/src/mem/manually_drop.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/mem/manually_drop.rs b/library/core/src/mem/manually_drop.rs index 955efb9b0f98d..e0c3b9f3b51da 100644 --- a/library/core/src/mem/manually_drop.rs +++ b/library/core/src/mem/manually_drop.rs @@ -1,7 +1,7 @@ use crate::ops::{Deref, DerefMut, DerefPure}; use crate::ptr; -/// A wrapper to inhibit compiler from automatically calling `T`’s destructor. +/// A wrapper to inhibit the compiler from automatically calling `T`’s destructor. /// This wrapper is 0-cost. /// /// `ManuallyDrop` is guaranteed to have the same layout and bit validity as