mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-30 00:54:16 -05:00
14 lines
237 B
Rust
14 lines
237 B
Rust
// modules1.rs
|
|
// Make me compile! Execute `rustlings hint modules1` for hints :)
|
|
|
|
// I AM NOT DONE
|
|
|
|
mod sausage_factory {
|
|
fn make_sausage() {
|
|
println!("sausage!");
|
|
}
|
|
}
|
|
|
|
fn main() {
|
|
sausage_factory::make_sausage();
|
|
}
|