MCPcopy Create free account
hub / github.com/StudyRust/leetcode_rust / main

Function main

791-custom-sort-string.rs:25–32  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}
24
25fn main() {
26 let order = "cba".to_string();
27 let s = "abcd".to_string();
28 println!("{:?}", custom_sort_string(order, s));
29 let order = "cbafg".to_string();
30 let s = "abcd".to_string();
31 println!("{:?}", custom_sort_string(order, s));
32}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected