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 } }