2 releases

Uses old Rust 2015

0.1.1 Feb 2, 2016
0.1.0 Feb 2, 2016

#1685 in Algorithms

Download history 1403/week @ 2024-11-17 1060/week @ 2024-11-24 1132/week @ 2024-12-01 1538/week @ 2024-12-08 1640/week @ 2024-12-15 1057/week @ 2024-12-22 846/week @ 2024-12-29 1671/week @ 2025-01-05 1430/week @ 2025-01-12 1805/week @ 2025-01-19 1516/week @ 2025-01-26 2220/week @ 2025-02-02 1698/week @ 2025-02-09 1708/week @ 2025-02-16 1859/week @ 2025-02-23 1734/week @ 2025-03-02

7,217 downloads per month
Used in 33 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