about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--library/core/src/default.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/default.rs b/library/core/src/default.rs
index 09dbc95810f..1f7be85d38a 100644
--- a/library/core/src/default.rs
+++ b/library/core/src/default.rs
@@ -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