about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAngelicosPhosphoros <xuzin.timur@gmail.com>2021-12-26 16:02:33 +0300
committerAngelicosPhosphoros <xuzin.timur@gmail.com>2021-12-26 16:02:33 +0300
commit72b0c8f2331544fc53f4de9fb7000bbaa98e7ff8 (patch)
tree29033b00ce0073e22a7b5cc50a254d629d45d336
parentf8abed9ed48bace6be0087bcd44ed534e239b8d8 (diff)
downloadrust-72b0c8f2331544fc53f4de9fb7000bbaa98e7ff8.tar.gz
rust-72b0c8f2331544fc53f4de9fb7000bbaa98e7ff8.zip
Reverts #92135 because perf regression
-rw-r--r--library/core/src/any.rs1
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")]