3 ms·
#[...] is an attribute, more like @foo annotations in Java, not a comment. Comments do not use # in Rust
by brundolf 6y ago
#[...] is an attribute, more like @foo annotations in Java, not a comment. Comments do not use # in Rust
- corytheboyd 6y ago> Comments do not use # in Rust Oof what a dumb mistake, sorry about that!
- felipellrocha 6y agoIt's ok. Other people probably had the same question!