2022-09-07 05:11:09 +00:00
|
|
|
// ./src/hello.md
|
|
|
|
|
|
|
|
|
2022-09-07 03:56:55 +00:00
|
|
|
// This is a comment, and is ignored by the compiler
|
|
|
|
// You can test this code by clicking the "Run" button over there ->
|
|
|
|
// or if you prefer to use your keyboard, you can use the "Ctrl + Enter" shortcut
|
|
|
|
|
|
|
|
// This code is editable, feel free to hack it!
|
|
|
|
// You can always return to the original code by clicking the "Reset" button ->
|
|
|
|
|
|
|
|
// This is the main function
|
2022-09-07 05:11:09 +00:00
|
|
|
fn part0() {
|
2022-09-07 03:56:55 +00:00
|
|
|
// Statements here are executed when the compiled binary is called
|
|
|
|
|
|
|
|
// Print text to the console
|
2022-09-07 05:11:09 +00:00
|
|
|
println!("Hello World!");
|
|
|
|
}
|
|
|
|
|
|
|
|
pub fn main() {
|
|
|
|
part0();
|
2022-06-21 07:09:00 +00:00
|
|
|
}
|
2022-09-07 03:56:55 +00:00
|
|
|
|