Skip to main content

fuqiu_rust_crates_phrases/
lib.rs

1use std::io;
2mod english {
3    mod greetings {
4        pub fn hello() {
5            //io::println("hello world!");
6        }
7
8    }
9
10    mod farewells {
11
12    }
13}
14
15
16
17mod japanese {
18    mod greetings {
19        pub fn hello() {
20            //io::println("hello world!");
21        }
22    }
23
24    mod farewells {
25
26    }
27}
28
29