Skip to content

Commit 20ae416

Browse files
authored
Always inline primitive data types.
1 parent a976ed6 commit 20ae416

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/default.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ macro_rules! default_impl {
190190
($t:ty, $v:expr, $doc:tt) => {
191191
#[stable(feature = "rust1", since = "1.0.0")]
192192
impl Default for $t {
193-
#[inline]
193+
#[inline(always)]
194194
#[doc = $doc]
195195
fn default() -> $t {
196196
$v

0 commit comments

Comments
 (0)