auto merge of #19223 : reem/rust/any-typeid-unstable, r=aturon
It is likely going to be removed and replaced with an associated static.
This commit is contained in:
commit
c637cab853
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ use intrinsics::TypeId;
|
|||
#[stable]
|
||||
pub trait Any: 'static {
|
||||
/// Get the `TypeId` of `self`
|
||||
#[stable]
|
||||
#[experimental = "this method will likely be replaced by an associated static"]
|
||||
fn get_type_id(&self) -> TypeId;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue