Skip to content

Commit 3445445

Browse files
authored
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
2 parents 9eba66b + c056a79 commit 3445445

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/libstd/error.rs

-1
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,6 @@ pub trait Error: Debug + Display {
197197
fn source(&self) -> Option<&(dyn Error + 'static)> { None }
198198

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

0 commit comments

Comments
 (0)