rustlings/exercises/modules/modules1.rs

13 lines
219 B
Rust
Raw Normal View History

2018-02-22 06:09:53 +00:00
// modules1.rs
// Make me compile! Execute `rustlings hint modules1` for hints :)
mod sausage_factory {
fn make_sausage() {
println!("sausage!");
}
}
fn main() {
sausage_factory::make_sausage();
}