diff options
| author | bors <bors@rust-lang.org> | 2018-06-11 13:24:00 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-06-11 13:24:00 +0000 |
| commit | 0d763178e5375cdba1eb1feecab14dc293cbbf1c (patch) | |
| tree | 3a663200370b8ba49673c96d2e7f565497fee813 /src/libstd | |
| parent | 13f8d073fe5c87638d9ebe849c5fdd80e87da95a (diff) | |
| parent | 02c96d4733a2db16d0dd88ada8023da851f7739e (diff) | |
| download | rust-0d763178e5375cdba1eb1feecab14dc293cbbf1c.tar.gz rust-0d763178e5375cdba1eb1feecab14dc293cbbf1c.zip | |
Auto merge of #51478 - crlf0710:patch-2, r=QuietMisdreavus
Add #[doc(inline)] in std::task Add #[doc(inline)] in `std::task` to make the nightly docs seem right.
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstd/lib.rs b/src/libstd/lib.rs index 7bbc99b83be..4bf52224ae6 100644 --- a/src/libstd/lib.rs +++ b/src/libstd/lib.rs @@ -467,7 +467,9 @@ pub use core::hint; issue = "50547")] pub mod task { //! Types and Traits for working with asynchronous tasks. + #[doc(inline)] pub use core::task::*; + #[doc(inline)] pub use alloc_crate::task::*; } |
