Auto merge of #113024 - Jerrody:master, r=thomcc
`Default`: Always inline primitive data types.
This commit is contained in:
commit
25b5af1b3a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user