Skip to content

steveklabnik/ref_slice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Take a reference and get back a slice of length one

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 9

Languages