rustlings/exercises/modules/modules1.rs
2021-02-01 18:56:40 +00:00

13 lines
223 B
Rust

// modules1.rs
// Make me compile! Execute `rustlings hint modules1` for hints :)
mod sausage_factory {
pub fn make_sausage() {
println!("sausage!");
}
}
fn main() {
sausage_factory::make_sausage();
}