Skip to content

Like `OnceCell`, except you set the value twice.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

caass/twice-cell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Like `OnceCell`, except you set the value twice.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages