Skip to content

Commit 052f7b6

Browse files
taiki-ecramertj
authored andcommitted
Avoid many doc errors from std
1 parent 4025e79 commit 052f7b6

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

futures-util/src/lib.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,13 @@ pub use self::async_await::*;
3636
#[cfg(feature = "async-await")]
3737
#[doc(hidden)]
3838
pub mod rand_reexport { // used by select!
39-
pub use rand::{prelude::SliceRandom, thread_rng};
40-
41-
// HACK: Define dummy `ThreadRng` to avoid `intra_doc_link_resolution_failure` warning.
42-
#[allow(missing_debug_implementations)]
4339
#[doc(hidden)]
44-
pub struct ThreadRng {}
40+
pub use rand::{prelude::SliceRandom, thread_rng};
4541
}
4642

4743
#[doc(hidden)]
4844
pub mod core_reexport {
45+
#[doc(hidden)]
4946
pub use core::*;
5047
}
5148

0 commit comments

Comments
 (0)