File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -435,7 +435,7 @@ impl TypeId {
435
435
/// assert_eq!(is_string(&"cookie monster".to_string()), true);
436
436
/// ```
437
437
#[ stable( feature = "rust1" , since = "1.0.0" ) ]
438
- #[ rustc_const_stable( feature = "const_type_id" , since = "1.45 .0" ) ]
438
+ #[ rustc_const_stable( feature = "const_type_id" , since = "1.46 .0" ) ]
439
439
pub const fn of < T : ?Sized + ' static > ( ) -> TypeId {
440
440
TypeId { t : intrinsics:: type_id :: < T > ( ) }
441
441
}
Original file line number Diff line number Diff line change @@ -1024,7 +1024,7 @@ extern "rust-intrinsic" {
1024
1024
///
1025
1025
/// The stabilized version of this intrinsic is
1026
1026
/// [`std::any::TypeId::of`](../../std/any/struct.TypeId.html#method.of)
1027
- #[ rustc_const_stable( feature = "const_type_id" , since = "1.45 .0" ) ]
1027
+ #[ rustc_const_stable( feature = "const_type_id" , since = "1.46 .0" ) ]
1028
1028
pub fn type_id < T : ?Sized + ' static > ( ) -> u64 ;
1029
1029
1030
1030
/// A guard for unsafe functions that cannot ever be executed if `T` is uninhabited:
You can’t perform that action at this time.
0 commit comments