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

Function main

929-unique-email-addresses.rs:22–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20}
21
22fn main() {
23 let emails: Vec<String> = vec!["test.email+alex@leetcode.com","test.e.mail+bob.cathy@leetcode.com","testemail+david@lee.tcode.com"]
24 .iter().map(|e|e.to_string()).collect();
25 println!("{:?}", num_unique_emails(emails));
26}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected