twice-cell

Crates.iotwice-cell
lib.rstwice-cell
version0.1.1
created_at2024-09-13 22:35:10.538664+00
updated_at2025-01-16 18:26:29.636843+00
descriptionLike `once-cell`, except you set the value twice.
homepagehttps://github.com/caass/twice-cell
repositoryhttps://github.com/caass/twice-cell.git
max_upload_size
id1374205
size52,071
Cass Fridkin (caass)

documentation

README

twice-cell

It's like once-cell, except you set the value twice.

Contributing

I don't actually use this crate, since I figured out in the course of building it that I could just use a different pattern with OnceCell. Go figure! I'm still happy to accept pull requests, however, and will respond to issues while they exist in my github inbox.

In particular, I don't really remember most of the implementation details of this crate. I know I tried halfheartedly to add a new nightly feature, but since I gave up on that it wound up just being more noise for the already overworked rust maintainers. Sorry!

License

Licensed under Apache 2.0 or MIT, at your option.

Commit count: 0

cargo fmt