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.
macro_rules! const_non_empty_slice {
($slice: expr) => { ... };
}Similar to non_empty_slice! but for const contexts.
Note that the provided expression must be const-evaluatable, else the compilation will fail.