Skip to content

Commit f197ac9

Browse files
committed
Tentatively inline the trivial Into::into
1 parent 57ee5cf commit f197ac9

File tree

1 file changed

+1
-0
lines changed
  • library/core/src/convert

1 file changed

+1
-0
lines changed

library/core/src/convert/mod.rs

+1
Original file line numberDiff line numberDiff line change
@@ -553,6 +553,7 @@ where
553553
///
554554
/// That is, this conversion is whatever the implementation of
555555
/// <code>[From]&lt;T&gt; for U</code> chooses to do.
556+
#[inline]
556557
fn into(self) -> U {
557558
U::from(self)
558559
}

0 commit comments

Comments
 (0)