Add #[doc(inline)] in std::task

Add #[doc(inline)] in `std::task` to make the doc seem right.
This commit is contained in:
CrLF0710 2018-06-11 03:09:30 +08:00 committed by GitHub
parent c5a129e809
commit 02c96d4733
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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::*;
}