2018-02-22 06:09:53 +00:00
|
|
|
// modules1.rs
|
2019-11-11 15:51:38 +00:00
|
|
|
// Make me compile! Execute `rustlings hint modules1` for hints :)
|
2015-09-18 02:21:56 +00:00
|
|
|
|
|
|
|
mod sausage_factory {
|
|
|
|
fn make_sausage() {
|
|
|
|
println!("sausage!");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {
|
|
|
|
sausage_factory::make_sausage();
|
|
|
|
}
|