Exercise 42

This commit is contained in:
akshitgautam42 2023-11-13 19:34:42 +05:30
parent 61f082a6e3
commit 9fde4eed00

View File

@ -3,7 +3,7 @@
// Execute `rustlings hint modules1` or use the `hint` watch subcommand for a
// hint.
// I AM NOT DONE
mod sausage_factory {
// Don't let anybody outside of this module see this!
@ -11,7 +11,7 @@ mod sausage_factory {
String::from("Ginger")
}
fn make_sausage() {
pub fn make_sausage() {
get_secret_recipe();
println!("sausage!");
}