Difference between revisions of "Comentarios"
Jump to navigation
Jump to search
(Created page with "Hey, my name’s Eric and for just a second, imagine this… - Someone does a search and winds up at abax.io. - They hang out for a minute to check it out. “I’m interes...") |
|||
| Line 1: | Line 1: | ||
=Por línea= | |||
Todo caracter luego de <code>//</code> se considera un comentario y se ignora. | |||
<syntaxhighlight lang="rust" line='line' highlight="1"> | |||
fn main(){ | |||
let a=3; //esto se ignora | |||
//esto también | |||
} | |||
</syntaxhighlight> | |||
Revision as of 23:20, 11 February 2021
Por línea
Todo caracter luego de // se considera un comentario y se ignora.
fn main(){
let a=3; //esto se ignora
//esto también
}