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

Function main

648-replace-words.rs:17–21  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17fn main() {
18 let dictionary = vec!["catt".to_string(), "cat".to_string(), "bat".to_string(), "rat".to_string()];
19 let sentence = "the cattle was rattled by the battery".to_string();
20 println!("{:?}", replace_words(dictionary, sentence));
21}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected