From f197ac936adb940dc78573e737ffbb12e4b8ac97 Mon Sep 17 00:00:00 2001 From: Soni L Date: Tue, 27 Sep 2022 15:46:21 -0300 Subject: [PATCH] Tentatively inline the trivial Into::into --- library/core/src/convert/mod.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/library/core/src/convert/mod.rs b/library/core/src/convert/mod.rs index c42adda8da545..5139f844ee2d4 100644 --- a/library/core/src/convert/mod.rs +++ b/library/core/src/convert/mod.rs @@ -553,6 +553,7 @@ where /// /// That is, this conversion is whatever the implementation of /// [From]<T> for U chooses to do. + #[inline] fn into(self) -> U { U::from(self) }