Skip to content

Commit

Permalink
Add #[doc(inline)] in std::task
Browse files Browse the repository at this point in the history
Add #[doc(inline)] in `std::task` to make the doc seem right.
  • Loading branch information
crlf0710 authored Jun 10, 2018
1 parent c5a129e commit 02c96d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/libstd/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
}

Expand Down

0 comments on commit 02c96d4

Please sign in to comment.