Skip to content

Commit 0d76317

Browse files
committed
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.
2 parents 13f8d07 + 02c96d4 commit 0d76317

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Diff for: src/libstd/lib.rs

+2
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,9 @@ pub use core::hint;
467467
issue = "50547")]
468468
pub mod task {
469469
//! Types and Traits for working with asynchronous tasks.
470+
#[doc(inline)]
470471
pub use core::task::*;
472+
#[doc(inline)]
471473
pub use alloc_crate::task::*;
472474
}
473475

0 commit comments

Comments
 (0)