From 215712283f044b902ef36f792e7360bb7690a65b Mon Sep 17 00:00:00 2001 From: Kornel Date: Sat, 7 Aug 2021 12:52:24 +0100 Subject: [PATCH] Inline from of TryReserveErrorKind --- library/alloc/src/collections/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/library/alloc/src/collections/mod.rs b/library/alloc/src/collections/mod.rs index 3ee857f3399..0d442011921 100644 --- a/library/alloc/src/collections/mod.rs +++ b/library/alloc/src/collections/mod.rs @@ -111,6 +111,7 @@ pub enum TryReserveErrorKind { issue = "48043" )] impl From for TryReserveError { + #[inline] fn from(kind: TryReserveErrorKind) -> Self { Self { kind } } -- 2.44.0