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