Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 748620b307 |
+2
-1
@@ -2,10 +2,11 @@
|
|||||||
fn main() {
|
fn main() {
|
||||||
print("Hello, world!");
|
print("Hello, world!");
|
||||||
print("Goodbye, world!");
|
print("Goodbye, world!");
|
||||||
// some documentation comment
|
// 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