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

Feature: Less verbose implementation of fmt::Debug for sync::OnceCell and unsync::OnceCell. #36

Closed manuthambi closed 5 years ago

manuthambi commented 5 years ago

This avoids unnecessarily verbose debug formatting like OnceCell(OnceCell(Some(XXX))). This also prevents implementation details from leaking out to debug messages printed by clients of once_cell crate.

matklad commented 5 years ago

Thanks!

bors r+

bors[bot] commented 5 years ago

Build succeeded

matklad commented 5 years ago

published as 0.2.4

manuthambi commented 5 years ago

Super! Thanks!