non_empty_slice

Macro non_empty_slice 

Source
macro_rules! non_empty_slice {
    ($slice: expr) => { ... };
}
Expand description

Constructs NonEmptySlice from the given slice, panicking if it is empty.