MCPcopy Create free account
hub / github.com/bedroombuilds/python2rust / main

Function main

04_strings_unicode/rust/uppercase.rs:19–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19fn main() {
20 let names: Vec<String> = vec![
21 "alice".to_string(),
22 "bob".to_string(),
23 "özgül".to_string(),
24 "ßad".to_string(),
25 ];
26 for name in names.iter() {
27 println!("{} -> {}", name, naive_capitalize(name));
28 println!("{} -> {}", name, ascii_capitalize(name));
29 println!("");
30 }
31}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected