trim() is a built-in function in Rust used to trim leading and trailing whitespaces in a string. ... pub fn trim_matches<'a, P>(&'a self, pat: P) -> &'a str
確定! 回上一頁