Uses old Rust 2015
|0.1.1||Feb 2, 2016|
|0.1.0||Feb 2, 2016|
#1421 in Algorithms
2,549 downloads per month
Used in 15 crates (via io-surface)
leak() method to Rust's Clone-On-Write pointer.
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.