Files
rust/code/world_hello/src/main.rs
2025-09-23 17:18:55 +08:00

13 lines
298 B
Rust

fn greet_world() {
let southern_germany = "Grüß Gott!";
let chinese = "世界,你好";
let english = "World, hello";
let regions = [southern_germany, chinese, english];
for region in regions.iter() {
println!("{}", &region);
}
}
fn main() {
greet_world();
}