Skip to content

Commit

Permalink
Auto merge of #92291 - AngelicosPhosphoros:typeid_inline_revert_92135…
Browse files Browse the repository at this point in the history
…, r=joshtriplett

Reverts #92135 because perf regression

Please, start a perf test for this.

r? `@joshtriplett` You approved original PR.
  • Loading branch information
bors committed Dec 29, 2021
2 parents 8e05bb5 + 72b0c8f commit b70cc64
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion library/core/src/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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")]
Expand Down

0 comments on commit b70cc64

Please sign in to comment.