Skip to content

Commit bb33730

Browse files
authored
Always inline primitive data types.
1 parent 3c5d71a commit bb33730

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: library/core/src/default.rs

+1-1
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)