2 releases
Uses old Rust 2015
| 0.1.1 | Feb 2, 2016 |
|---|---|
| 0.1.0 | Feb 2, 2016 |
#13 in #leak
34,744 downloads per month
Used in 67 crates
(via io-surface)
2KB
Leaky cows: convert a clone-on-write reference into a plain reference. If it's just the plain reference, just return that. If it's the owned structure, leak it and return a reference to it.
Leaky cows
Adds a leak() method to Rust's Clone-On-Write pointer.
Dependencies
~4KB