Last active
April 25, 2019 18:50
-
-
Save higordiego/e12d9b76dca8f9029b61cd5ad6763bc2 to your computer and use it in GitHub Desktop.
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 user { | |
pub mod hourse { | |
fn print_room() { | |
print!("limpando..."); | |
} | |
pub mod room { | |
pub fn clear() { | |
super::print_room(); | |
} | |
} | |
} | |
mod car {} | |
} | |
use crate::user::hourse; | |
fn main() { | |
hourse::room::clear() | |
} | |
/* | |
limpando... | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment