Always inline primitive data types.
This commit is contained in:
parent
3c5d71a99d
commit
bb33730361
@ -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…
x
Reference in New Issue
Block a user