Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mod sound {
- mod instrument {
- fn clarinet() {
- // Function body code goes here
- }
- }
- }
- fn main() {
- // Absolute path
- crate::sound::instrument::clarinet();
- // Relative path
- sound::instrument::clarinet();
- }
Add Comment
Please, Sign In to add comment