We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#[inline]
TypeId::of
1 parent 8f54061 commit 756d163Copy full SHA for 756d163
library/core/src/any.rs
@@ -616,6 +616,7 @@ impl TypeId {
616
/// assert_eq!(is_string(&0), false);
617
/// assert_eq!(is_string(&"cookie monster".to_string()), true);
618
/// ```
619
+ #[inline]
620
#[must_use]
621
#[stable(feature = "rust1", since = "1.0.0")]
622
#[rustc_const_unstable(feature = "const_type_id", issue = "77125")]
0 commit comments