Basic function
fn print\_message(){
println!("Hello, QuickRef.ME!");
}
fn main(){
//Invoking a function in Rust.
print\_message();
}
Comments
fn print\_message(){
println!("Hello, QuickRef.ME!");
}
fn main(){
//Invoking a function in Rust.
print\_message();
}