matklad / once_cell

Rust library for single assignment cells and lazy statics without macros
Apache License 2.0
1.84k stars 110 forks source link

Add a `Lazy::get` function, similar to `OnceCell::get` #183

Closed glandium closed 2 years ago

matklad commented 2 years ago

Makes sense to have this! Could you also add an entry to the changelog and bump the version in Cargo.toml, so that this gets released to crates.io by CI?

bors d+

bors[bot] commented 2 years ago

:v: glandium can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

matklad commented 2 years ago

bors r+

bors[bot] commented 2 years ago

Build succeeded: