This website requires JavaScript.
Explore
Help
Register
Sign In
rust-lang
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Actions
1
Packages
Projects
Releases
Wiki
Activity
Files
744e397d8855f7da87d70aa8d0bd9e0f5f0b51a1
rust
/
library
/
core
/
src
/
lazy.rs
2 lines
60 B
Rust
Raw
Normal View
History
Unescape
Escape
integrate Lazy into std layout This commit refactors the initial implementation to fit into std and makes some other changes: - use MaybeUninit internally in SyncOnceCell - correctly impl Drop for lazy::Once - port Lazy::take from once_cell from: https://github.com/matklad/once_cell/pull/100 Co-Authored-By: Paul Dicker <pitdicker@users.noreply.github.com>
2020-01-14 13:34:23 +10:00
//! Lazy values and one-time initialization of static data.
Reference in New Issue
Copy Permalink