Created
October 29, 2017 10:19
-
-
Save vihar/835e1af3707330c6def20a605fde82ba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Line comment which go to the end of the line. | |
fn main(){ | |
println!("Hello World, I am not given a comment."); | |
//println("I am ignored by the compiler"); | |
/* | |
Large chunck of code can be commented this way ! | |
So it takes only a few symbols to comment out all these lines. | |
*/ | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment