diff options
| author | bors <bors@rust-lang.org> | 2021-12-29 05:53:19 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2021-12-29 05:53:19 +0000 |
| commit | b70cc6422c141191aeb33f5ab6faba992118812b (patch) | |
| tree | b330365dc92c059f6ef185696127a34ff491ef85 | |
| parent | 8e05bb527c5f00549ea6bc21352638200bceb1a5 (diff) | |
| parent | 72b0c8f2331544fc53f4de9fb7000bbaa98e7ff8 (diff) | |
| download | rust-b70cc6422c141191aeb33f5ab6faba992118812b.tar.gz rust-b70cc6422c141191aeb33f5ab6faba992118812b.zip | |
Auto merge of #92291 - AngelicosPhosphoros:typeid_inline_revert_92135, r=joshtriplett
Reverts #92135 because perf regression Please, start a perf test for this. r? `@joshtriplett` You approved original PR.
| -rw-r--r-- | library/core/src/any.rs | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/library/core/src/any.rs b/library/core/src/any.rs index bc66fdbd0d8..72528185707 100644 --- a/library/core/src/any.rs +++ b/library/core/src/any.rs @@ -616,7 +616,6 @@ impl TypeId { /// assert_eq!(is_string(&0), false); /// assert_eq!(is_string(&"cookie monster".to_string()), true); /// ``` - #[inline] #[must_use] #[stable(feature = "rust1", since = "1.0.0")] #[rustc_const_unstable(feature = "const_type_id", issue = "77125")] |
