2 releases
Uses old Rust 2015
0.1.1 | Feb 2, 2016 |
---|---|
0.1.0 | Feb 2, 2016 |
#14 in #leak
5,527 downloads per month
Used in 23 crates
(via io-surface)
2KB
Leaky cows
Adds a leak()
method to Rust's Clone-On-Write pointer.
lib.rs
:
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.
Dependencies
~4KB