# ref\_slice [![Documentation](https://docs.rs/ref_slice/badge.svg)](https://docs.rs/ref_slice) [![Crates.io](https://img.shields.io/crates/v/ref_slice.svg)](https://crates.io/crates/ref_slice) Small utility functions for getting slices of length one. This [used to be in the standard library][ref], but was removed. So here you go! There are also versions that work on `Option` as well. [ref]: https://github.com/rust-lang/rust/issues/27774#issuecomment-150058618