Skip to content

Commit

Permalink
Rollup merge of #59587 - XAMPPRocky:master, r=Centril
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Centril authored Mar 31, 2019
2 parents 9eba66b + c056a79 commit 3445445
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/libstd/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@ pub trait Error: Debug + Display {
fn source(&self) -> Option<&(dyn Error + 'static)> { None }

/// Gets the `TypeId` of `self`
#[doc(hidden)]
#[stable(feature = "error_type_id", since = "1.34.0")]
fn type_id(&self) -> TypeId where Self: 'static {
TypeId::of::<Self>()
Expand Down

0 comments on commit 3445445

Please sign in to comment.