ref_slice

Crates.ioref_slice
lib.rsref_slice
version1.2.1
sourcesrc
created_at2015-10-23 12:26:34.255431
updated_at2021-04-29 19:27:42.141604
descriptionTurn a reference into a slice of length one.
homepagehttps://github.com/steveklabnik/ref_slice
repositoryhttps://github.com/steveklabnik/ref_slice
max_upload_size
id3291
size4,329
Developers (github:maidsafe:developers)

documentation

https://docs.rs/ref_slice/

README

ref_slice

Documentation Crates.io

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.

Commit count: 24

cargo fmt