Horje
rust comments Code Example
rust comment
fn main() {
	// It's a simple comment
    println!("Hello, world!");
    
    println!("Condemned Crab comment"); // Comments in rust are with two slashes.
}
rust comments
// Use two '//'




Rust

Related
How to avoid unused Variable warning in Rust? How to avoid unused Variable warning in Rust?
Rust: The Programming Language of the Future? Rust: The Programming Language of the Future?
File I/O in Rust File I/O in Rust
Rust Types and Inference Rust Types and Inference
How to Add a Crate in Rust? How to Add a Crate in Rust?

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
10