Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR RUST

rust comment

fn main() {
	// It's a simple comment
    println!("Hello, world!");
    
    println!("Condemned Crab comment"); // Comments in rust are with two slashes.
}
Source by doc.rust-lang.org #
 
PREVIOUS NEXT
Tagged: #rust #comment
ADD COMMENT
Topic
Name
5+8 =