initial commit

This commit is contained in:
Zacharias-Brohn
2026-07-12 23:39:38 +02:00
commit c756b14e24
219 changed files with 5438 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
mod sausage_factory {
fn get_secret_recipe() -> String {
String::from("Ginger")
}
// Added `pub` before `fn` to make the function accessible outside the module.
pub fn make_sausage() {
get_secret_recipe();
println!("sausage!");
}
}
fn main() {
sausage_factory::make_sausage();
}