Add #[inline] to the Into for From impl

This commit is contained in:
Ben Kimock 2023-03-23 20:16:14 -04:00
parent e216300876
commit badfb17d2f

View File

@ -722,6 +722,7 @@ where
///
/// That is, this conversion is whatever the implementation of
/// <code>[From]&lt;T&gt; for U</code> chooses to do.
#[inline]
fn into(self) -> U {
U::from(self)
}