Add #[inline] to the Into for From impl
This commit is contained in:
parent
e216300876
commit
badfb17d2f
1 changed files with 1 additions and 0 deletions
|
@ -722,6 +722,7 @@ where
|
||||||
///
|
///
|
||||||
/// That is, this conversion is whatever the implementation of
|
/// That is, this conversion is whatever the implementation of
|
||||||
/// <code>[From]<T> for U</code> chooses to do.
|
/// <code>[From]<T> for U</code> chooses to do.
|
||||||
|
#[inline]
|
||||||
fn into(self) -> U {
|
fn into(self) -> U {
|
||||||
U::from(self)
|
U::from(self)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue