diff options
| author | CrLF0710 <crlf0710@gmail.com> | 2018-06-11 03:09:30 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-11 03:09:30 +0800 |
| commit | 02c96d4733a2db16d0dd88ada8023da851f7739e (patch) | |
| tree | 1b756f8c5ca217adde4ff496e5988ca5f305e956 /src/libstd | |
| parent | c5a129e809172462e3f29ab733074630e29b569b (diff) | |
| download | rust-02c96d4733a2db16d0dd88ada8023da851f7739e.tar.gz rust-02c96d4733a2db16d0dd88ada8023da851f7739e.zip | |
Add #[doc(inline)] in std::task
Add #[doc(inline)] in `std::task` to make the doc 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::*; } |
