Comments

Code comments

  • // for an in line comment
    • Comments out everything after it on a line

// This is the entry point of the
// application.
fn main() {
	// Display a message to the user.
	println!("Hello world");
	
	// my favorite colour
	let a = "purple";
	
	// OR a better way to declare that variable:
	let my_favorite_colour = "purple";
}