Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

hello world in rust

// This code is editable, feel free to hack it!
// This is the main function
fn main() {
    // Statements here are executed when the compiled binary is called

    // Print text to the console
    println!("Hello World!");
}
Source by doc.rust-lang.org #
 
PREVIOUS NEXT
Tagged: #world #rust
ADD COMMENT
Topic
Name
1+2 =