Rollup merge of #59587 - XAMPPRocky:master, r=Centril

Remove #[doc(hidden)] from Error::type_id

Nominating this for beta so that `Error::type_id` has documentation in time for release.

cc @rust-lang/release @rust-lang/docs
This commit is contained in:
Mazdak Farrokhzad 2019-03-31 19:19:56 +02:00 committed by GitHub
commit 34454451a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -197,7 +197,6 @@ pub trait Error: Debug + Display {
fn source(&self) -> Option<&(dyn Error + 'static)> { None } fn source(&self) -> Option<&(dyn Error + 'static)> { None }
/// Gets the `TypeId` of `self` /// Gets the `TypeId` of `self`
#[doc(hidden)]
#[stable(feature = "error_type_id", since = "1.34.0")] #[stable(feature = "error_type_id", since = "1.34.0")]
fn type_id(&self) -> TypeId where Self: 'static { fn type_id(&self) -> TypeId where Self: 'static {
TypeId::of::<Self>() TypeId::of::<Self>()