Searched defs:strip_prefix (Results 1 – 2 of 2) sorted by relevance
410 static const char *strip_prefix(const char *s) in strip_prefix() function
46 /// assert_eq!(Some(b_str!("bar")), b_str!("foobar").strip_prefix(b_str!("foo"))); in strip_prefix() method