const_non_empty_slice

Macro const_non_empty_slice 

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

Similar to non_empty_slice! but for const contexts.

Note that the provided expression must be const-evaluatable, else the compilation will fail.