Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fn main() {
- greetings::hello();
- }
- fn hello() {
- println!("Hello, world!");
- }
- mod greetings {
- pub fn hello() {
- super::hello();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement