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 |
#68 in #turn
14,027 downloads per month
Used in 45 crates
(10 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.