Skip to content

Commit

Permalink
Auto merge of #113024 - Jerrody:master, r=thomcc
Browse files Browse the repository at this point in the history
`Default`: Always inline primitive data types.
  • Loading branch information
bors committed Jun 26, 2023
2 parents 06c58cb + bb33730 commit 25b5af1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/default.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ macro_rules! default_impl {
($t:ty, $v:expr, $doc:tt) => {
#[stable(feature = "rust1", since = "1.0.0")]
impl Default for $t {
#[inline]
#[inline(always)]
#[doc = $doc]
fn default() -> $t {
$v
Expand Down

0 comments on commit 25b5af1

Please sign in to comment.