diff --git a/src/into.rs b/src/into.rs index 8899f8b..42b9fe0 100644 --- a/src/into.rs +++ b/src/into.rs @@ -20,8 +20,10 @@ where type T = T; #[inline(always)] + #[track_caller] fn into_result_how(self) -> Result { #[inline(never)] + #[track_caller] fn into(e: E) -> How { How::new(e.to_string()) } @@ -42,8 +44,10 @@ impl IntoResultHow for Option { type T = T; #[inline(always)] + #[track_caller] fn into_result_how(self) -> Result { #[inline(never)] + #[track_caller] fn into() -> How { How::new("Option::None") }