Answers for "rust comment block"

2

rust comment

fn main() {
	// It's a simple comment
    println!("Hello, world!");
    
    println!("Condemned Crab comment"); // Comments in rust are with two slashes.
}
Posted by: Guest on February-17-2021
0

rust comments

// Use two '//'
Posted by: Guest on January-05-2022

Browse Popular Code Answers by Language