diff --git a/library/core/src/convert/mod.rs b/library/core/src/convert/mod.rs index 805354be089a5..8a8d4caf96f33 100644 --- a/library/core/src/convert/mod.rs +++ b/library/core/src/convert/mod.rs @@ -722,6 +722,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) }