6 releases (stable)
Uses old Rust 2015
1.2.1 | Apr 29, 2021 |
---|---|
1.2.0 | Sep 29, 2019 |
1.1.1 | Nov 3, 2016 |
1.1.0 | Sep 2, 2016 |
0.1.0 | Oct 23, 2015 |
4,003 downloads per month
Used in 42 crates
(9 directly)
5KB
76 lines
ref_slice
Small utility functions for getting slices of length one.
This used to be in the standard library, but was removed. So here you go!
There are also versions that work on Option<T>
as well.