Home
last modified time | relevance | path

Searched refs:rsplit_once (Results 1 - 3 of 3) sorted by relevance

/third_party/rust/crates/once_cell/xtask/src/
H A Dmain.rs69 let version = cmd!(sh, "cargo pkgid").read()?.rsplit_once('#').unwrap().1.to_string(); in main()
/third_party/rust/crates/bindgen/bindgen-cli/
H A Doptions.rs920 .rsplit_once('=') in builder_from_flags()
983 .rsplit_once('=') in builder_from_flags()
/third_party/rust/crates/memchr/bench/data/code/
H A Drust-library.rs4887 assert_eq!("".rsplit_once("->"), None); in test_rsplit_once()
4888 assert_eq!("-".rsplit_once("->"), None); in test_rsplit_once()
4889 assert_eq!("->".rsplit_once("->"), Some(("", ""))); in test_rsplit_once()
4890 assert_eq!("a->".rsplit_once("->"), Some(("a", ""))); in test_rsplit_once()
4891 assert_eq!("->b".rsplit_once("->"), Some(("", "b"))); in test_rsplit_once()
4892 assert_eq!("a->b".rsplit_once("->"), Some(("a", "b"))); in test_rsplit_once()
4893 assert_eq!("a->b->c".rsplit_once("->"), Some(("a->b", "c"))); in test_rsplit_once()
4894 assert_eq!("---".rsplit_once("--"), Some(("-", ""))); in test_rsplit_once()
[all...]

Completed in 44 milliseconds