Skip to main content

rest_after

Function rest_after 

Source
pub fn rest_after<'a>(prefix: &[u8], path: &'a [u8]) -> &'a [u8] ⓘ
Expand description

The part of path after prefix, keeping its leading slash.

A prefix of / consumes nothing, so the whole path is the remainder.