2 releases

Uses old Rust 2015

0.1.1 Feb 2, 2016
0.1.0 Feb 2, 2016

#11 in #leak

Download history 869/week @ 2024-07-19 956/week @ 2024-07-26 1102/week @ 2024-08-02 1986/week @ 2024-08-09 1408/week @ 2024-08-16 1218/week @ 2024-08-23 1280/week @ 2024-08-30 988/week @ 2024-09-06 941/week @ 2024-09-13 886/week @ 2024-09-20 901/week @ 2024-09-27 1282/week @ 2024-10-04 1066/week @ 2024-10-11 1242/week @ 2024-10-18 1000/week @ 2024-10-25 1214/week @ 2024-11-01

4,758 downloads per month
Used in 22 crates (via io-surface)

MIT/Apache

2KB

Leaky cows

Build Status

Documentation

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