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