A simple example of an API with encapsulated interior mutability in Rust.
Rust
Sparkles
This is a simple example of an API with encapsulated interior mutability in Rust.
It should not be used as an exemplar for error handling or, really, anything at all.