Searched refs:rsplit_once (Results 1 – 4 of 4) sorted by relevance
/third_party/rust/crates/once_cell/xtask/src/ |
D | main.rs | 69 let version = cmd!(sh, "cargo pkgid").read()?.rsplit_once('#').unwrap().1.to_string(); in main()
|
/third_party/rust/crates/bindgen/bindgen-cli/ |
D | options.rs | 920 .rsplit_once('=') in builder_from_flags() 983 .rsplit_once('=') in builder_from_flags()
|
/third_party/rust/crates/os_str_bytes/src/ |
D | raw_str.rs | 484 pub fn rsplit_once<P>(&self, pat: P) -> Option<(&Self, &Self)> in rsplit_once() method
|
/third_party/rust/crates/memchr/bench/data/code/ |
D | rust-library.rs | 4887 assert_eq!("".rsplit_once("->"), None); 4888 assert_eq!("-".rsplit_once("->"), None); 4889 assert_eq!("->".rsplit_once("->"), Some(("", ""))); 4890 assert_eq!("a->".rsplit_once("->"), Some(("a", ""))); 4891 assert_eq!("->b".rsplit_once("->"), Some(("", "b"))); 4892 assert_eq!("a->b".rsplit_once("->"), Some(("a", "b"))); 4893 assert_eq!("a->b->c".rsplit_once("->"), Some(("a->b", "c"))); 4894 assert_eq!("---".rsplit_once("--"), Some(("-", "")));
|