Add #[track_caller]
to the "From implies Into" impl
This commit is contained in:
parent
e927184629
commit
075f2e0345
@ -753,6 +753,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]
|
#[inline]
|
||||||
|
#[track_caller]
|
||||||
fn into(self) -> U {
|
fn into(self) -> U {
|
||||||
U::from(self)
|
U::from(self)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user