nit: bruh

This commit is contained in:
2026-03-12 20:54:14 -04:00
commit 2279bea6f1
219 changed files with 4928 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
// TODO: Fix the compiler error about calling a private function.
mod sausage_factory {
// Don't let anybody outside of this module see this!
fn get_secret_recipe() -> String {
String::from("Ginger")
}
fn make_sausage() {
get_secret_recipe();
println!("sausage!");
}
}
fn main() {
sausage_factory::make_sausage();
}