Skip to content

Commit 02c96d4

Browse files
authored
Add #[doc(inline)] in std::task
Add #[doc(inline)] in `std::task` to make the doc seem right.
1 parent c5a129e commit 02c96d4

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)