Searched refs:strip_prefix (Results 1 – 5 of 5) sorted by relevance
20 let first = first.strip_prefix('"')?; in fmt() 35 if let Some(rest) = first_str.strip_prefix('{') { in fmt()
98 if let Some(string) = string.strip_prefix("r#") { in unraw()
54 if let Some(id) = id.strip_prefix("r#") { in fmt()
443 if let Some(id) = id.strip_prefix("r#") { in ident_maybe_raw()
55 pub fn strip_prefix(&self, pattern: impl AsRef<Self>) -> Option<&BStr> { in strip_prefix() method57 .strip_prefix(pattern.as_ref().deref()) in strip_prefix()