Skip to content

Commit

Permalink
Auto merge of #51478 - crlf0710:patch-2, r=QuietMisdreavus
Browse files Browse the repository at this point in the history
Add #[doc(inline)] in std::task

Add #[doc(inline)] in `std::task` to make the nightly docs seem right.
  • Loading branch information
bors committed Jun 11, 2018
2 parents 13f8d07 + 02c96d4 commit 0d76317
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 0d76317

Please sign in to comment.