Reverts #92135 because perf regression

This commit is contained in:
AngelicosPhosphoros 2021-12-26 16:02:33 +03:00
parent f8abed9ed4
commit 72b0c8f233

View File

@ -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")]