Compare commits

2 Commits

Author SHA1 Message Date
dxrknesss f25ed3bd29 add new function 2026-01-17 16:43:13 +02:00
dxrknesss 45027b1bd7 add comment to main 2026-01-17 16:43:13 +02:00
+3
View File
@@ -2,9 +2,12 @@
fn main() {
print("Hello, world!");
print("Goodbye, world!");
print("bye everyone");
// some (not really) documentation comment
}
// a function that prints the msg
fn print(m: &str) {
println!("{m}")
// hello ?
}