rust-ape-example/src/bin/hello.rs

23 lines
563 B
Rust

// ./src/hello.md
// 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
fn part0() {
// Statements here are executed when the compiled binary is called
// Print text to the console
println!("Hello World!");
}
pub fn main() {
part0();
}