[][src]Function ptth_core::prefix_match

#[must_use]pub fn prefix_match<'a>(prefix: &str, hay: &'a str) -> Option<&'a str>