slice_ends_with

Macro slice_ends_with 

Source
macro_rules! slice_ends_with {
    ($s:expr, $prefix:expr) => { ... };
}
Expand description

Check if a slice ends with another slice. This only works for slices of primitive integer types and str.