From 72b0c8f2331544fc53f4de9fb7000bbaa98e7ff8 Mon Sep 17 00:00:00 2001 From: AngelicosPhosphoros Date: Sun, 26 Dec 2021 16:02:33 +0300 Subject: [PATCH] Reverts #92135 because perf regression --- library/core/src/any.rs | 1 - 1 file changed, 1 deletion(-) 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")]