Compare commits
2 Commits
c95bcd821e
...
f25ed3bd29
| Author | SHA1 | Date | |
|---|---|---|---|
| f25ed3bd29 | |||
| 45027b1bd7 |
@@ -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 ?
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user