diff options
| author | bors <bors@rust-lang.org> | 2023-06-26 06:45:04 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-06-26 06:45:04 +0000 |
| commit | 25b5af1b3a0b9e2c0c57b223b2d0e3e203869b2c (patch) | |
| tree | 44907702507ee1593472a89933736495ef19765c | |
| parent | 06c58cb96667c2e8b9eb197b1cc24a9367924d42 (diff) | |
| parent | bb3373036128a3c5a911f9216c6c3a004d271a49 (diff) | |
| download | rust-25b5af1b3a0b9e2c0c57b223b2d0e3e203869b2c.tar.gz rust-25b5af1b3a0b9e2c0c57b223b2d0e3e203869b2c.zip | |
Auto merge of #113024 - Jerrody:master, r=thomcc
`Default`: 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 |
