about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-03-31 19:19:56 +0200
committerGitHub <noreply@github.com>2019-03-31 19:19:56 +0200
commit34454451a19210341263ea32962d96f41faec2a5 (patch)
tree9c75e0759b74f210c61fcc192fdd1b05d9784df9 /src/libstd
parent9eba66b35fd0180e3f5c86f22d7749d512d73560 (diff)
parentc056a79f354b9b85cfeb9a6d32632edea4719263 (diff)
downloadrust-34454451a19210341263ea32962d96f41faec2a5.tar.gz
rust-34454451a19210341263ea32962d96f41faec2a5.zip
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
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/error.rs1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libstd/error.rs b/src/libstd/error.rs
index 89051030f66..081fff0562b 100644
--- a/src/libstd/error.rs
+++ b/src/libstd/error.rs
@@ -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>()