Created
March 16, 2018 17:44
-
-
Save rust-play/d16a426d743bd3d8744cd05a40f867ce to your computer and use it in GitHub Desktop.
Code shared from the Rust Playground
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mod foo { | |
mod bar { | |
pub fn foobar() { | |
println!("hello"); | |
} | |
} | |
} | |
fn main() { | |
foo::bar::foobar(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment