diff options
| author | George <huntermlg123465@gmail.com> | 2023-06-25 12:36:21 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-25 12:36:21 +0300 |
| commit | bb3373036128a3c5a911f9216c6c3a004d271a49 (patch) | |
| tree | 2d418a36731e59611e722d86f1f42de5b4322e8a | |
| parent | 3c5d71a99dd5ece7f6c87ca80b0adb1637c3b11a (diff) | |
| download | rust-bb3373036128a3c5a911f9216c6c3a004d271a49.tar.gz rust-bb3373036128a3c5a911f9216c6c3a004d271a49.zip | |
Always inline primitive data types.
| -rw-r--r-- | library/core/src/default.rs | 2 |
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 |
