First cut of `std::lazy` module

This commit is contained in:
Aleksey Kladov 2020-01-12 18:14:29 +01:00 committed by Ashley Mannix
parent 6ee1b62c81
commit cac1768b03
2 changed files with 1008 additions and 0 deletions

1002
src/libstd/lazy.rs Normal file

File diff suppressed because it is too large Load Diff

View File

@ -476,6 +476,12 @@ pub mod process;
pub mod sync;
pub mod time;
#[unstable(
feature = "std_lazy",
issue = "99",
)]
pub mod lazy;
#[stable(feature = "futures_api", since = "1.36.0")]
pub mod task {
//! Types and Traits for working with asynchronous tasks.