We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 717eb6c commit 0617156Copy full SHA for 0617156
library/core/src/num/nonzero.rs
@@ -92,6 +92,7 @@ assert_eq!(size_of::<Option<core::num::", stringify!($Ty), ">>(), size_of::<", s
92
doc_comment! {
93
concat!(
94
"Converts a `", stringify!($Ty), "` into an `", stringify!($Int), "`"),
95
+ #[inline]
96
fn from(nonzero: $Ty) -> Self {
97
nonzero.0
98
}
0 commit comments