add comment to main #1

Open
dxrknesss wants to merge 2 commits from push-wsuqrymwmnss into trunk
+3
View File
@@ -2,9 +2,12 @@
fn main() { fn main() {
print("Hello, world!"); print("Hello, world!");
print("Goodbye, world!"); print("Goodbye, world!");
print("bye everyone");
// some (not really) documentation comment
} }
// a function that prints the msg // a function that prints the msg
fn print(m: &str) { fn print(m: &str) {
println!("{m}") println!("{m}")
// hello ?
} }