rustlings/exercises/modules/modules1.rs

18 lines
282 B
Rust
Raw Normal View History

2018-02-22 13:09:53 +07:00
// modules1.rs
//
// Make me compile!
//
// If you need help, open the corresponding README.md or run: rustlings hint modules1
// I AM NOT DONE
mod sausage_factory {
fn make_sausage() {
println!("sausage!");
}
}
fn main() {
sausage_factory::make_sausage();
}